InnoDB Plugin
1.0
|
Go to the source code of this file.
Data Structures | |
struct | ib_wqueue_t |
Functions | |
UNIV_INTERN ib_wqueue_t * | ib_wqueue_create (void) |
UNIV_INTERN void | ib_wqueue_free (ib_wqueue_t *wq) |
UNIV_INTERN void | ib_wqueue_add (ib_wqueue_t *wq, void *item, mem_heap_t *heap) |
ibool | ib_wqueue_is_empty (const ib_wqueue_t *wq) |
UNIV_INTERN void * | ib_wqueue_wait (ib_wqueue_t *wq) |
void * | ib_wqueue_timedwait (ib_wqueue_t *wq, ib_time_t wait_in_usecs) |
A work queue
Created 4/26/2006 Osku Salerma
UNIV_INTERN void ib_wqueue_add | ( | ib_wqueue_t * | wq, |
void * | item, | ||
mem_heap_t * | heap | ||
) |
Add a work item to the queue. in: memory heap to use for allocating the list node
wq | in: work queue |
item | in: work item |
UNIV_INTERN ib_wqueue_t* ib_wqueue_create | ( | void | ) |
Create a new work queue.
UNIV_INTERN void ib_wqueue_free | ( | ib_wqueue_t * | wq | ) |
Free a work queue. in: work queue
UNIV_INTERN void* ib_wqueue_wait | ( | ib_wqueue_t * | wq | ) |
Wait for a work item to appear in the queue.