Raymond Toy pushed to branch rtoy-issue-26 at cmucl / cmucl
Commits:
-
260c0e45
by Raymond Toy at 2016-11-29T19:03:17-08:00
1 changed file:
Changes:
... | ... | @@ -579,8 +579,8 @@ os_sleep(double seconds) |
579 | 579 |
fractional = modf(seconds, &integral);
|
580 | 580 |
requested.tv_sec = (time_t) integral;
|
581 | 581 |
/*
|
582 |
* Round up just in case; it's probably better to sleep slightly
|
|
583 |
* too long than to sleep for too short a time.
|
|
582 |
* Round up---better to sleep slightly too long than to sleep for
|
|
583 |
* too short a time.
|
|
584 | 584 |
*/
|
585 | 585 |
requested.tv_nsec = (long) ceil(fractional * 1e9);
|
586 | 586 |
|