~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/drizzled.cc

  • Committer: Brian Aker
  • Date: 2010-08-12 17:21:13 UTC
  • mfrom: (1689.5.5 remove_pthread_calls)
  • Revision ID: brian@tangent.org-20100812172113-i0ox868kcbzjim2h
Merge in removal of pthread dead wrappers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
779
779
 
780
780
int init_thread_environment()
781
781
{
782
 
   pthread_mutexattr_t attr; 
783
 
   pthread_mutexattr_init(&attr);
784
 
 
785
 
  pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); 
786
 
 
787
 
  pthread_mutexattr_destroy(&attr);
788
 
 
789
782
  if (pthread_key_create(&THR_Session,NULL) ||
790
783
      pthread_key_create(&THR_Mem_root,NULL))
791
784
  {