HomeFreeBSD

Linux nanosleep() and clock_nanosleep() system calls always

Description

Linux nanosleep() and clock_nanosleep() system calls always
writes the remaining time into the structure pointed to by rmtp
unless rmtp is NULL. The value of *rmtp can then be used to call
nanosleep() again and complete the specified pause if the previous
call was interrupted.

Note. clock_nanosleep() with an absolute time value does not write
the remaining time.

While here fix whitespaces and typo in SDT_PROBE.

Details

Provenance
dchaginAuthored on
Parents
rS283497: Convert SCM_TIMESTAMP in recvmsg().
Branches
Unknown
Tags
Unknown