~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2008-09-04 19:31:00 UTC
  • Revision ID: brian@tangent.org-20080904193100-l849hgghfy4urj43
Changing default character set from this point on.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
/********************************************************************
20
20
Initializes the thread local storage module. */
21
 
UNIV_INTERN
 
21
 
22
22
void
23
23
thr_local_init(void);
24
24
/*================*/
25
25
/***********************************************************************
26
26
Creates a local storage struct for the calling new thread. */
27
 
UNIV_INTERN
 
27
 
28
28
void
29
29
thr_local_create(void);
30
30
/*==================*/
31
31
/***********************************************************************
32
32
Frees the local storage struct for the specified thread. */
33
 
UNIV_INTERN
 
33
 
34
34
void
35
35
thr_local_free(
36
36
/*===========*/
37
37
        os_thread_id_t  id);    /* in: thread id */
38
38
/***********************************************************************
39
39
Gets the slot number in the thread table of a thread. */
40
 
UNIV_INTERN
 
40
 
41
41
ulint
42
42
thr_local_get_slot_no(
43
43
/*==================*/
45
45
        os_thread_id_t  id);    /* in: thread id of the thread */
46
46
/***********************************************************************
47
47
Sets in the local storage the slot number in the thread table of a thread. */
48
 
UNIV_INTERN
 
48
 
49
49
void
50
50
thr_local_set_slot_no(
51
51
/*==================*/
54
54
/***********************************************************************
55
55
Returns pointer to the 'in_ibuf' field within the current thread local
56
56
storage. */
57
 
UNIV_INTERN
 
57
 
58
58
ibool*
59
59
thr_local_get_in_ibuf_field(void);
60
60
/*=============================*/