Available on crate feature thread only.
Expand description

Thread-associated operations.

Structs

Flags for use with futex.

Enums

CLOCK_* constants for use with clock_gettime.

Operations for use with futex.

A return type for nanosleep and clock_nanosleep_relative.

Functions

clock_nanosleep(id, TIMER_ABSTIME, request, NULL)—Sleeps until an absolute time on a given clock.

clock_nanosleep(id, 0, request, remain)—Sleeps for a duration on a given clock.

futex(uaddr, op, val, utime, uaddr2, val3)

gettid()—Returns the thread ID.

nanosleep(request, remain)—Sleeps for a duration.

Type Definitions

struct timespec