Available on crate feature
linux
only.Expand description
Linux-specific extensions to std::thread
.
Structs§
- Represents the
timespec
structure from libc. Time in seconds and nanoseconds.
Functions§
- linux_
getpid unsafe_syscall
Returns the current process number. - linux_
sleep unsafe_syscall
Suspends execution of calling thread forduration
. - linux_
sys_ ⚠getpid unsafe_syscall
Performs agetpid
syscall. - linux_
sys_ ⚠nanosleep unsafe_syscall
Performs ananosleep
syscall.