~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/multi_thread/multi_thread.cc

  • Committer: Brian Aker
  • Date: 2009-03-20 05:04:15 UTC
  • Revision ID: brian@tangent.org-20090320050415-jeh6bsia5ckj01li
Fix for scheduler no longer needing to understand locks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
{
34
34
  int error;
35
35
 
36
 
  safe_mutex_assert_owner(&LOCK_thread_count);
37
 
  (void) pthread_mutex_unlock(&LOCK_thread_count);
38
36
  thread_count++;
39
37
 
40
38
  if ((error= pthread_create(&session->real_id, &multi_thread_attrib, handle_one_connection, (void*) session)))