Thread-associated operations.
Flags for use with futex.
futex
Operations for use with futex.
futex(uaddr, op, val, utime, uaddr2, val3)
gettid()—Returns the thread ID.
gettid()