~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/ut/ut0wqueue.c

Imported InnoDB plugin with changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
/********************************************************************
4
4
Create a new work queue. */
5
 
 
 
5
UNIV_INTERN
6
6
ib_wqueue_t*
7
7
ib_wqueue_create(void)
8
8
/*===================*/
20
20
 
21
21
/********************************************************************
22
22
Free a work queue. */
23
 
 
 
23
UNIV_INTERN
24
24
void
25
25
ib_wqueue_free(
26
26
/*===========*/
37
37
 
38
38
/********************************************************************
39
39
Add a work item to the queue. */
40
 
 
 
40
UNIV_INTERN
41
41
void
42
42
ib_wqueue_add(
43
43
/*==========*/
56
56
 
57
57
/********************************************************************
58
58
Wait for a work item to appear in the queue. */
59
 
 
 
59
UNIV_INTERN
60
60
void*
61
61
ib_wqueue_wait(
62
62
                                /* out: work item */