projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for module 'ilogbf'.
[gnulib.git]
/
lib
/
sleep.c
diff --git
a/lib/sleep.c
b/lib/sleep.c
index
45b9d80
..
9a4b940
100644
(file)
--- a/
lib/sleep.c
+++ b/
lib/sleep.c
@@
-1,5
+1,5
@@
/* Pausing execution of the current thread.
/* Pausing execution of the current thread.
- Copyright (C) 2007, 2009-201
1
Free Software Foundation, Inc.
+ Copyright (C) 2007, 2009-201
2
Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2007.
This program is free software: you can redistribute it and/or modify
Written by Bruno Haible <bruno@clisp.org>, 2007.
This program is free software: you can redistribute it and/or modify
@@
-35,7
+35,7
@@
sleep (unsigned int seconds)
unsigned int remaining;
/* Sleep for 1 second many times, because
unsigned int remaining;
/* Sleep for 1 second many times, because
- 1. Sleep is not interrupti
p
le by Ctrl-C,
+ 1. Sleep is not interrupti
b
le by Ctrl-C,
2. we want to avoid arithmetic overflow while multiplying with 1000. */
for (remaining = seconds; remaining > 0; remaining--)
Sleep (1000);
2. we want to avoid arithmetic overflow while multiplying with 1000. */
for (remaining = seconds; remaining > 0; remaining--)
Sleep (1000);