MySQL 5.6.14 Source Code Document
|
#include "ut0wqueue.h"
Go to the source code of this file.
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) |
UNIV_INTERN void * | ib_wqueue_wait (ib_wqueue_t *wq) |
void * | ib_wqueue_timedwait (ib_wqueue_t *wq, ib_time_t wait_in_usecs) |
ibool | ib_wqueue_is_empty (const ib_wqueue_t *wq) |
UNIV_INTERN void ib_wqueue_add | ( | ib_wqueue_t * | wq, |
void * | item, | ||
mem_heap_t * | heap | ||
) |
Add a work item to the queue.
wq | in: work queue |
item | in: work item |
heap | in: memory heap to use for allocating the list node |
Definition at line 67 of file ut0wqueue.cc.
UNIV_INTERN ib_wqueue_t* ib_wqueue_create | ( | void | ) |
Create a new work queue.
Definition at line 33 of file ut0wqueue.cc.
UNIV_INTERN void ib_wqueue_free | ( | ib_wqueue_t * | wq | ) |
Free a work queue.
wq | in: work queue |
Definition at line 52 of file ut0wqueue.cc.
UNIV_INTERN void* ib_wqueue_wait | ( | ib_wqueue_t * | wq | ) |
Wait for a work item to appear in the queue.
wq | in: work queue |
Definition at line 87 of file ut0wqueue.cc.