summaryrefslogtreecommitdiff
path: root/ev.pod
diff options
context:
space:
mode:
authorroot <root>2011-06-04 05:25:02 +0000
committerroot <root>2011-06-04 05:25:02 +0000
commit436d5d174bfb936c4852a63eb03e0a3185f1502a (patch)
treec0f5297470af0fbe39b75963bad813f1f2a4fc3b /ev.pod
parenta9e3edbbaef8f747345cbaabb111219272ed1a53 (diff)
*** empty log message ***
Diffstat (limited to 'ev.pod')
-rw-r--r--ev.pod12
1 files changed, 9 insertions, 3 deletions
diff --git a/ev.pod b/ev.pod
index 4ac1d12..1e444cb 100644
--- a/ev.pod
+++ b/ev.pod
@@ -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 ()