~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/include/srv0que.h

  • Committer: Brian Aker
  • Date: 2008-11-04 15:39:09 UTC
  • mfrom: (575.1.2 devel)
  • Revision ID: brian@tangent.org-20081104153909-c72hn65udxs1ccal
Merge of Monty's work

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
thread starts processing a task. Before leaving, it again checks the task
19
19
queue and picks a new task if any exists. This is called by a SRV_WORKER
20
20
thread. */
21
 
 
 
21
UNIV_INTERN
22
22
void
23
23
srv_que_task_queue_check(void);
24
24
/*==========================*/
25
25
/**************************************************************************
26
26
Performs round-robin on the server tasks. This is called by a SRV_WORKER
27
27
thread every second or so. */
28
 
 
 
28
UNIV_INTERN
29
29
que_thr_t*
30
30
srv_que_round_robin(
31
31
/*================*/
35
35
/**************************************************************************
36
36
Enqueues a task to server task queue and releases a worker thread, if
37
37
there exists one suspended. */
38
 
 
 
38
UNIV_INTERN
39
39
void
40
40
srv_que_task_enqueue(
41
41
/*=================*/
43
43
/**************************************************************************
44
44
Enqueues a task to server task queue and releases a worker thread, if
45
45
there exists one suspended. */
46
 
 
 
46
UNIV_INTERN
47
47
void
48
48
srv_que_task_enqueue_low(
49
49
/*=====================*/