~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/os/os0sync.cc

  • Committer: Andrew Hutchings
  • Date: 2011-02-07 17:20:59 UTC
  • mfrom: (2148 staging)
  • mto: (2148.2.3 build)
  • mto: This revision was merged to the branch mainline in revision 2149.
  • Revision ID: andrew@linuxjedi.co.uk-20110207172059-dyeahrgzrlincoe3
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
877
877
 
878
878
        InitializeCriticalSection((LPCRITICAL_SECTION) fast_mutex);
879
879
#else
880
 
        ut_a(0 == innobase_fast_mutex_init(fast_mutex));
 
880
        ut_a(0 == pthread_mutex_init(fast_mutex, NULL));
881
881
#endif
882
882
        if (UNIV_LIKELY(os_sync_mutex_inited)) {
883
883
                /* When creating os_sync_mutex itself (in Unix) we cannot