diff options
author | Martin Willi <martin@strongswan.org> | 2009-08-31 15:13:48 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-08-31 15:13:48 +0200 |
commit | 3d5818ec38c464b24f382d88c70b10df6c04b160 (patch) | |
tree | 58b41fa9794a8677757d642c10bc33e50bb9c438 /src/charon/processing/scheduler.h | |
parent | 3f310c0d1f664f5811327c5a89b5d6c2f3e42bdc (diff) | |
download | strongswan-3d5818ec38c464b24f382d88c70b10df6c04b160.tar.bz2 strongswan-3d5818ec38c464b24f382d88c70b10df6c04b160.tar.xz |
use monotonic time source in convar->timed_wait, and in the scheduler using it
Diffstat (limited to 'src/charon/processing/scheduler.h')
-rw-r--r-- | src/charon/processing/scheduler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/charon/processing/scheduler.h b/src/charon/processing/scheduler.h index 502f70b33..927b561bb 100644 --- a/src/charon/processing/scheduler.h +++ b/src/charon/processing/scheduler.h @@ -101,6 +101,9 @@ struct scheduler_t { /** * Adds a event to the queue, using an absolut time. * + * The passed timeval should be calculated based on the time_monotonic() + * function. + * * @param job job to schedule * @param time absolut time to schedule job */ |