#include <aerospike/as_std.h>
#include <stddef.h>
Go to the source code of this file.
◆ as_timer_destroy()
int as_timer_destroy |
( |
as_timer * | timer | ) |
|
Release resources associated with the timer. Calls timer->destroy. If success and if this is a heap allocated timer, then it will be freed.
◆ as_timer_init()
Initialize a stack allocated timer
◆ as_timer_new()
Heap allocate and initialize a timer
◆ as_timer_source()
static void * as_timer_source |
( |
const as_timer * | tt | ) |
|
|
inlinestatic |
◆ as_timer_timedout()
bool as_timer_timedout |
( |
const as_timer * | timer | ) |
|
true if timer has timedout
◆ as_timer_timeslice()
uint64_t as_timer_timeslice |
( |
const as_timer * | timer | ) |
|
returns timeslice assigned for this timer