Lines 710-720
Link Here
|
710 |
void TickSample::PopulateContext(void* aContext) |
710 |
void TickSample::PopulateContext(void* aContext) |
711 |
{ |
711 |
{ |
712 |
MOZ_ASSERT(aContext); |
712 |
MOZ_ASSERT(aContext); |
|
|
713 |
#if defined(__GLIBC__) |
713 |
ucontext_t* pContext = reinterpret_cast<ucontext_t*>(aContext); |
714 |
ucontext_t* pContext = reinterpret_cast<ucontext_t*>(aContext); |
714 |
if (!getcontext(pContext)) { |
715 |
if (!getcontext(pContext)) { |
715 |
context = pContext; |
716 |
context = pContext; |
716 |
SetSampleContext(this, aContext); |
717 |
SetSampleContext(this, aContext); |
717 |
} |
718 |
} |
|
|
719 |
#endif |
718 |
} |
720 |
} |
719 |
|
721 |
|
720 |
void OS::SleepMicro(int microseconds) |
722 |
void OS::SleepMicro(int microseconds) |