]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r283498:
authordchagin <dchagin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 9 Jan 2016 18:05:04 +0000 (18:05 +0000)
committerdchagin <dchagin@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 9 Jan 2016 18:05:04 +0000 (18:05 +0000)
commit191250f2baa4c256b9a52a23eeca3568c2c3f84f
tree095c6f60f2e8fb41752b5c8b68a000cb0b3366ea
parent7c9e85a6b3037679eaf132308e8cf08f1d8b8f1c
MFC r283498:

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.

git-svn-id: svn://svn.freebsd.org/base/stable/10@293598 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/compat/linux/linux_time.c