corosync 3.1.7
|
#include <config.h>
#include "timer.h"
#include "main.h"
#include <qb/qbdefs.h>
#include <qb/qbutil.h>
Go to the source code of this file.
Functions | |
int | corosync_timer_add_absolute (unsigned long long nanosec_from_epoch, void *data, void(*timer_fn)(void *data), corosync_timer_handle_t *handle) |
int | corosync_timer_add_duration (unsigned long long nanosec_duration, void *data, void(*timer_fn)(void *data), corosync_timer_handle_t *handle) |
void | corosync_timer_delete (corosync_timer_handle_t th) |
unsigned long long | corosync_timer_expire_time_get (corosync_timer_handle_t th) |
unsigned long long | cs_timer_time_get (void) |
int corosync_timer_add_absolute | ( | unsigned long long | nanosec_from_epoch, |
void * | data, | ||
void(*)(void *data) | timer_fn, | ||
corosync_timer_handle_t * | handle | ||
) |
Definition at line 43 of file timer.c.
References cs_poll_handle_get().
int corosync_timer_add_duration | ( | unsigned long long | nanosec_duration, |
void * | data, | ||
void(*)(void *data) | timer_fn, | ||
corosync_timer_handle_t * | handle | ||
) |
Definition at line 58 of file timer.c.
References cs_poll_handle_get().
void corosync_timer_delete | ( | corosync_timer_handle_t | th | ) |
Definition at line 72 of file timer.c.
References cs_poll_handle_get().
unsigned long long corosync_timer_expire_time_get | ( | corosync_timer_handle_t | th | ) |
Definition at line 78 of file timer.c.
References cs_poll_handle_get().