// We need a definition of gettid(), but glibc doesn't provide a
// wrapper for it.
#if defined(__GLIBC__)
#if 1
#include <unistd.h>
#include <sys/syscall.h>
static inline pid_t gettid()
{
MOZ_ASSERT(aContext);
ucontext_t* pContext = reinterpret_cast<ucontext_t*>(aContext);
if (!getcontext(pContext)) {
/* if (!getcontext(pContext)) {
context = pContext;
SetSampleContext(this, aContext);
}
} */
void OS::SleepMicro(int microseconds)