MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
MySQL 5.6.14 Source Code Document
replication of field metadata works.
ndbapi_simple.cpp
ndbapi_async.cpp
ndbapi_async1.cpp
ndbapi_retries.cpp
ndbapi_simple_index.cpp
ndbapi_scan.cpp
ndbapi_event.cpp
Adaptive Send Algorithm
MySQL Cluster Concepts
basic.cpp
common.hpp
br_test.cpp
ptr_binding_test.cpp
The Performance Schema main page
Performance schema: instrumentation interface page.
Performance schema: the aggregates page.
Todo List
Deprecated List
Modules
Namespaces
Classes
Files
File List
client
cmake
cmd-line-utils
dbug
extra
include
libevent
libmysql
libmysqld
libservices
mysql-test
mysys
mysys_ssl
packaging
plugin
regex
scripts
sql
sql-common
storage
archive
blackhole
csv
example
federated
heap
innobase
api
btr
buf
data
dict
dyn
eval
fil
fsp
fts
fut
ha
handler
ibuf
include
api0api.h
api0misc.h
btr0btr.h
btr0cur.h
btr0pcur.h
btr0sea.h
btr0types.h
buf0buddy.h
buf0buf.h
buf0checksum.h
buf0dblwr.h
buf0dump.h
buf0flu.h
buf0lru.h
buf0rea.h
buf0types.h
data0data.h
data0type.h
data0types.h
db0err.h
dict0boot.h
dict0crea.h
dict0dict.h
dict0load.h
dict0mem.h
dict0priv.h
dict0stats.h
dict0stats_bg.h
dict0types.h
dyn0dyn.h
eval0eval.h
eval0proc.h
fil0fil.h
fsp0fsp.h
fsp0types.h
fts0ast.h
fts0blex.h
fts0fts.h
fts0opt.h
fts0pars.h
fts0priv.h
fts0tlex.h
fts0types.h
fut0fut.h
fut0lst.h
ha0ha.h
ha0storage.h
ha_prototypes.h
handler0alter.h
hash0hash.h
ibuf0ibuf.h
ibuf0types.h
lock0iter.h
lock0lock.h
lock0priv.h
lock0types.h
log0log.h
log0recv.h
mach0data.h
mem0dbg.h
mem0mem.h
mem0pool.h
mtr0log.h
mtr0mtr.h
mtr0types.h
os0file.h
os0proc.h
os0sync.h
os0thread.h
page0cur.h
page0page.h
page0types.h
page0zip.h
pars0grm.h
pars0opt.h
pars0pars.h
pars0sym.h
pars0types.h
que0que.h
que0types.h
read0read.h
read0types.h
rem0cmp.h
rem0rec.h
rem0types.h
row0ext.h
row0ftsort.h
row0import.h
row0ins.h
row0log.h
row0merge.h
row0mysql.h
row0purge.h
row0quiesce.h
row0row.h
row0sel.h
row0types.h
row0uins.h
row0umod.h
row0undo.h
row0upd.h
row0vers.h
srv0conc.h
srv0mon.h
srv0srv.h
srv0start.h
sync0arr.h
sync0rw.h
sync0sync.h
sync0types.h
trx0i_s.h
trx0purge.h
trx0rec.h
trx0roll.h
trx0rseg.h
trx0sys.h
trx0trx.h
trx0types.h
trx0undo.h
trx0xa.h
usr0sess.h
usr0types.h
ut0bh.h
ut0byte.h
ut0counter.h
ut0crc32.h
ut0dbg.h
ut0list.h
ut0lst.h
ut0mem.h
ut0rbt.h
ut0rnd.h
ut0sort.h
ut0ut.h
ut0vec.h
ut0wqueue.h
lock
log
mach
mem
mtr
os
page
pars
que
read
rem
row
srv
sync
trx
usr
ut
myisam
myisammrg
ndb
perfschema
strings
support-files
tests
unittest
vio
zlib
File Members
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ut0wqueue.h
Go to the documentation of this file.
1
/*****************************************************************************
2
3
Copyright (c) 2006, 2009, Oracle and/or its affiliates. All Rights Reserved.
4
5
This program is free software; you can redistribute it and/or modify it under
6
the terms of the GNU General Public License as published by the Free Software
7
Foundation; version 2 of the License.
8
9
This program is distributed in the hope that it will be useful, but WITHOUT
10
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
13
You should have received a copy of the GNU General Public License along with
14
this program; if not, write to the Free Software Foundation, Inc.,
15
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
16
17
*****************************************************************************/
18
19
/*******************************************************************/
26
/*******************************************************************/
32
#ifndef IB_WORK_QUEUE_H
33
#define IB_WORK_QUEUE_H
34
35
#include "
ut0list.h
"
36
#include "
mem0mem.h
"
37
#include "
os0sync.h
"
38
#include "
sync0types.h
"
39
40
struct
ib_wqueue_t
;
41
42
/****************************************************************/
45
UNIV_INTERN
46
ib_wqueue_t
*
47
ib_wqueue_create
(
void
);
48
/*===================*/
49
50
/****************************************************************/
52
UNIV_INTERN
53
void
54
ib_wqueue_free
(
55
/*===========*/
56
ib_wqueue_t
* wq);
58
/****************************************************************/
60
UNIV_INTERN
61
void
62
ib_wqueue_add
(
63
/*==========*/
64
ib_wqueue_t
* wq,
65
void
* item,
66
mem_heap_t
*
heap
);
69
/********************************************************************
70
Check if queue is empty. */
71
72
ibool
73
ib_wqueue_is_empty(
74
/*===============*/
75
/* out: TRUE if queue empty
76
else FALSE */
77
const
ib_wqueue_t
* wq);
/* in: work queue */
78
79
/****************************************************************/
82
UNIV_INTERN
83
void
*
84
ib_wqueue_wait
(
85
/*===========*/
86
ib_wqueue_t
* wq);
88
/********************************************************************
89
Wait for a work item to appear in the queue for specified time. */
90
91
void
*
92
ib_wqueue_timedwait(
93
/*================*/
94
/* out: work item or NULL on timeout*/
95
ib_wqueue_t
* wq,
/* in: work queue */
96
ib_time_t
wait_in_usecs);
/* in: wait time in micro seconds */
97
98
/* Work queue. */
99
struct
ib_wqueue_t
{
100
ib_mutex_t
mutex
;
101
ib_list_t
*
items
;
102
os_event_t
event
;
103
};
104
105
#endif
storage
innobase
include
ut0wqueue.h
Generated on Sat Nov 9 2013 01:26:36 for MySQL 5.6.14 Source Code Document by
1.8.1.2