- ;; remainder time is actually decreasing. Since the cost
- ;; of this check is neglible, do it on all platforms.
- ;; http://osdir.com/ml/darwin-kernel/2010-03/msg00007.html
+ ;; remainder time is actually decreasing.
+ ;;
+ ;; It would be neat to do this bit of defensive
+ ;; programming on all platforms, but unfortunately on
+ ;; Linux, REM can be a little higher than REQ if the
+ ;; nanosleep() call is interrupted quickly enough,
+ ;; probably due to the request being rounded up to the
+ ;; nearest HZ. This would cause the sleep to return way
+ ;; too early.
+ #!+darwin