~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/thr/thr0loc.c

  • Committer: Monty Taylor
  • Date: 2010-11-26 22:50:54 UTC
  • mfrom: (1953.1.6 build)
  • Revision ID: mordred@inaugust.com-20101126225054-sg90svw8579t5p3i
Stewart - InnoDB 1.1.1
Monty - Fixed some autoconf tests which were returning false positives.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
/** Thread local data */
54
54
typedef struct thr_local_struct thr_local_t;
55
55
 
 
56
#ifdef UNIV_PFS_MUTEX
 
57
/* Key to register the mutex with performance schema */
 
58
UNIV_INTERN mysql_pfs_key_t     thr_local_mutex_key;
 
59
#endif /* UNIV_PFS_MUTEX */
 
60
 
56
61
/** @brief Thread local data.
57
62
The private data for each thread should be put to
58
63
the structure below and the accessor functions written
244
249
 
245
250
        thr_local_hash = hash_create(OS_THREAD_MAX_N + 100);
246
251
 
247
 
        mutex_create(&thr_local_mutex, SYNC_THR_LOCAL);
 
252
        mutex_create(thr_local_mutex_key,
 
253
                     &thr_local_mutex, SYNC_THR_LOCAL);
248
254
}
249
255
 
250
256
/********************************************************************