Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: fcd17ad88c4b8002f7ab78a929fe32a6471a70ac
https://github.com/perl6/specs/commit/fcd17ad88c4b8002f7ab78a929fe32a6471a70ac
Author: Larry Wall <[email protected]>
Date: 2013-09-04 (Wed, 04 Sep 2013)
Changed paths:
M S29-functions.pod
Log Message:
-----------
split sleep() into three functions
Specify sleep in terms of Reals, Durations and Instants, so that Int,
Rat and FatRat types are also allowed as inputs. Use sleep() now when
you don't care how long it really sleeps, and you may use sleep-timer()
to convey the intent to measure remaining time. Use sleep-till()
to sleep to a particular Instant without cumulative clock drift.