~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/sync0sync.h

mergeĀ lp:~hingo/drizzle/drizzle-auth_ldap-fix-and-docs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (c) 1995, 2010, Innobase Oy. All Rights Reserved.
4
 
Copyright (c) 2008, Google Inc.
 
3
Copyright (C) 1995, 2010, Innobase Oy. All Rights Reserved.
 
4
Copyright (C) 2008, Google Inc.
5
5
 
6
6
Portions of this file contain modifications contributed and copyrighted by
7
7
Google, Inc. Those modifications are gratefully acknowledged and are described
30
30
Created 9/5/1995 Heikki Tuuri
31
31
*******************************************************/
32
32
 
 
33
#pragma once
33
34
#ifndef sync0sync_h
34
35
#define sync0sync_h
35
36
 
85
86
extern mysql_pfs_key_t  ibuf_bitmap_mutex_key;
86
87
extern mysql_pfs_key_t  ibuf_mutex_key;
87
88
extern mysql_pfs_key_t  ibuf_pessimistic_insert_mutex_key;
88
 
extern mysql_pfs_key_t  ios_mutex_key;
89
89
extern mysql_pfs_key_t  log_sys_mutex_key;
90
90
extern mysql_pfs_key_t  log_flush_order_mutex_key;
91
91
extern mysql_pfs_key_t  kernel_mutex_key;
 
92
extern mysql_pfs_key_t  commit_id_mutex_key;
92
93
# ifdef UNIV_MEM_DEBUG
93
94
extern mysql_pfs_key_t  mem_hash_mutex_key;
94
95
# endif /* UNIV_MEM_DEBUG */
671
672
                                        SYNC_SEARCH_SYS, as memory allocation
672
673
                                        can call routines there! Otherwise
673
674
                                        the level is SYNC_MEM_HASH. */
 
675
#define SYNC_COMMIT_ID_LOCK     159     
674
676
#define SYNC_BUF_POOL           150     /* Buffer pool mutex */
675
677
#define SYNC_BUF_BLOCK          146     /* Block mutex */
676
678
#define SYNC_BUF_FLUSH_LIST     145     /* Buffer flush list mutex */