diff options
author | root <root> | 2011-06-04 05:25:02 +0000 |
---|---|---|
committer | root <root> | 2011-06-04 05:25:02 +0000 |
commit | 436d5d174bfb936c4852a63eb03e0a3185f1502a (patch) | |
tree | c0f5297470af0fbe39b75963bad813f1f2a4fc3b /ev.pod | |
parent | a9e3edbbaef8f747345cbaabb111219272ed1a53 (diff) |
*** empty log message ***
Diffstat (limited to 'ev.pod')
-rw-r--r-- | ev.pod | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -180,9 +180,15 @@ C<ev_update_now> and C<ev_now>. =item ev_sleep (ev_tstamp interval) -Sleep for the given interval: The current thread will be blocked until -either it is interrupted or the given time interval has passed. Basically -this is a sub-second-resolution C<sleep ()>. +Sleep for the given interval: The current thread will be blocked +until either it is interrupted or the given time interval has +passed (approximately - it might return a bit earlier even if not +interrupted). Returns immediately if C<< interval <= 0 >>. + +Basically this is a sub-second-resolution C<sleep ()>. + +The range of the C<interval> is limited - libev only guarantees to work +with sleep times of up to one day (C<< interval <= 86400 >>). =item int ev_version_major () |