… | |
… | |
1373 | Simply stops and restarts the periodic watcher again. This is only useful |
1373 | Simply stops and restarts the periodic watcher again. This is only useful |
1374 | when you changed some parameters or the reschedule callback would return |
1374 | when you changed some parameters or the reschedule callback would return |
1375 | a different time than the last time it was called (e.g. in a crond like |
1375 | a different time than the last time it was called (e.g. in a crond like |
1376 | program when the crontabs have changed). |
1376 | program when the crontabs have changed). |
1377 | |
1377 | |
|
|
1378 | =item ev_tstamp ev_periodic_at (ev_periodic *) |
|
|
1379 | |
|
|
1380 | When active, returns the absolute time that the watcher is supposed to |
|
|
1381 | trigger next. |
|
|
1382 | |
1378 | =item ev_tstamp offset [read-write] |
1383 | =item ev_tstamp offset [read-write] |
1379 | |
1384 | |
1380 | When repeating, this contains the offset value, otherwise this is the |
1385 | When repeating, this contains the offset value, otherwise this is the |
1381 | absolute point in time (the C<at> value passed to C<ev_periodic_set>). |
1386 | absolute point in time (the C<at> value passed to C<ev_periodic_set>). |
1382 | |
1387 | |
… | |
… | |
1392 | =item ev_tstamp (*reschedule_cb)(struct ev_periodic *w, ev_tstamp now) [read-write] |
1397 | =item ev_tstamp (*reschedule_cb)(struct ev_periodic *w, ev_tstamp now) [read-write] |
1393 | |
1398 | |
1394 | The current reschedule callback, or C<0>, if this functionality is |
1399 | The current reschedule callback, or C<0>, if this functionality is |
1395 | switched off. Can be changed any time, but changes only take effect when |
1400 | switched off. Can be changed any time, but changes only take effect when |
1396 | the periodic timer fires or C<ev_periodic_again> is being called. |
1401 | the periodic timer fires or C<ev_periodic_again> is being called. |
1397 | |
|
|
1398 | =item ev_tstamp at [read-only] |
|
|
1399 | |
|
|
1400 | When active, contains the absolute time that the watcher is supposed to |
|
|
1401 | trigger next. |
|
|
1402 | |
1402 | |
1403 | =back |
1403 | =back |
1404 | |
1404 | |
1405 | =head3 Examples |
1405 | =head3 Examples |
1406 | |
1406 | |