Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 14 years ago
parent
commit
aeeac63db9
  1. 10
      ev.html
  2. 4
      ev.pod

10
ev.html

@ -6,7 +6,7 @@
<meta name="description" content="Pod documentation for libev" />
<meta name="inputfile" content="&lt;standard input&gt;" />
<meta name="outputfile" content="&lt;standard output&gt;" />
<meta name="created" content="Mon Nov 12 09:35:17 2007" />
<meta name="created" content="Mon Nov 12 09:35:36 2007" />
<meta name="generator" content="Pod::Xhtml 1.57" />
<link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head>
<body>
@ -567,10 +567,10 @@ current time as second argument.</p>
<p>NOTE: <i>This callback MUST NOT stop or destroy the periodic or any other
periodic watcher, ever, or make any event loop modifications</i>. If you need
to stop it, return <code>now + 1e30</code> (or so, fudge fudge) and stop it afterwards.</p>
<p>Also, <i>&lt;this callback must always return a time that is later than the
passed <code>now</code> value </i>&gt;. Not even <code>now</code> itself will be ok.</p>
<p>Its prototype is c&lt;ev_tstamp (*reschedule_cb)(struct ev_periodic *w,
ev_tstamp now)&gt;, e.g.:</p>
<p>Also, <i>this callback must always return a time that is later than the
passed <code>now</code> value</i>. Not even <code>now</code> itself will be ok.</p>
<p>Its prototype is <code>ev_tstamp (*reschedule_cb)(struct ev_periodic *w,
ev_tstamp now)</code>, e.g.:</p>
<pre> static ev_tstamp my_rescheduler (struct ev_periodic *w, ev_tstamp now)
{
return now + 60.;

4
ev.pod

@ -564,10 +564,10 @@ NOTE: I<This callback MUST NOT stop or destroy the periodic or any other
periodic watcher, ever, or make any event loop modifications>. If you need
to stop it, return C<now + 1e30> (or so, fudge fudge) and stop it afterwards.
Also, I<<this callback must always return a time that is later than the
Also, I<< this callback must always return a time that is later than the
passed C<now> value >>. Not even C<now> itself will be ok.
Its prototype is c<ev_tstamp (*reschedule_cb)(struct ev_periodic *w,
Its prototype is C<ev_tstamp (*reschedule_cb)(struct ev_periodic *w,
ev_tstamp now)>, e.g.:
static ev_tstamp my_rescheduler (struct ev_periodic *w, ev_tstamp now)

Loading…
Cancel
Save