~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_thr_init.cc

  • Committer: Brian Aker
  • Date: 2008-11-22 03:37:48 UTC
  • Revision ID: brian@tangent.org-20081122033748-tqraexv8qb2qal4h
Removed mutex which are myisam from global to just engine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
#endif /* USE_TLS */
45
45
pthread_mutex_t THR_LOCK_open;
46
46
pthread_mutex_t THR_LOCK_lock;
47
 
pthread_mutex_t THR_LOCK_myisam;
48
47
pthread_mutex_t THR_LOCK_charset; 
49
48
pthread_mutex_t THR_LOCK_threads; 
50
49
pthread_mutex_t THR_LOCK_time;
126
125
 
127
126
  pthread_mutex_init(&THR_LOCK_open,MY_MUTEX_INIT_FAST);
128
127
  pthread_mutex_init(&THR_LOCK_lock,MY_MUTEX_INIT_FAST);
129
 
  pthread_mutex_init(&THR_LOCK_myisam,MY_MUTEX_INIT_SLOW);
130
128
  pthread_mutex_init(&THR_LOCK_charset,MY_MUTEX_INIT_FAST);
131
129
  pthread_mutex_init(&THR_LOCK_threads,MY_MUTEX_INIT_FAST);
132
130
  pthread_mutex_init(&THR_LOCK_time,MY_MUTEX_INIT_FAST);
179
177
#endif
180
178
  pthread_mutex_destroy(&THR_LOCK_open);
181
179
  pthread_mutex_destroy(&THR_LOCK_lock);
182
 
  pthread_mutex_destroy(&THR_LOCK_myisam);
183
180
  pthread_mutex_destroy(&THR_LOCK_time);
184
181
  pthread_mutex_destroy(&THR_LOCK_charset);
185
182
  if (all_threads_killed)