Module thread

Source
Available on crate feature linux only.
Expand description

Linux-specific extensions to std::thread.

Structs§

LinuxTimespec
Represents the timespec structure from libc. Time in seconds and nanoseconds.

Functions§

linux_getpidunsafe_syscall
Returns the current process number.
linux_sleepunsafe_syscall
Suspends execution of calling thread for duration.
linux_sys_getpidunsafe_syscall
Performs a getpid syscall.
linux_sys_nanosleepunsafe_syscall
Performs a nanosleep syscall.