]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(suspended): Change its type from int to sig_atomic_t volatile.
authorJim Meyering <jim@meyering.net>
Tue, 20 Apr 2004 10:41:36 +0000 (10:41 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 20 Apr 2004 10:41:36 +0000 (10:41 +0000)
commitfead36411c7d698b4e4457d01658fa61a91a2295
tree20b005f4b837358f2595e14b8073693dfc9a0f4c
parent3d286f8c912f074a354fcaaef8f40b1ab7ecbf79
(suspended): Change its type from int to sig_atomic_t volatile.
(first_call): Make it private to rpl_nanosleep, and have it
be zero initially as that's a bit faster.
(my_usleep): Round up fractional times instead of truncating them,
as this is the usual meaning for 'sleep'.
lib/nanosleep.c