/[svn]/linuxsampler/trunk/src/common/Thread.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/Thread.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 496 by letz, Mon Feb 21 11:09:15 2005 UTC revision 497 by persson, Sun Apr 10 11:55:44 2005 UTC
# Line 187  int Thread::Destructor() { Line 187  int Thread::Destructor() {
187      Running = false;      Running = false;
188      pthread_mutex_unlock(&__thread_state_mutex);      pthread_mutex_unlock(&__thread_state_mutex);
189      pthread_cond_broadcast(&__thread_exit_condition);      pthread_cond_broadcast(&__thread_exit_condition);
190        return 0;
191  }  }
192    
193  /// Callback function for the POSIX thread API  /// Callback function for the POSIX thread API
# Line 198  void* __pthread_launcher(void* thread) { Line 199  void* __pthread_launcher(void* thread) {
199      t->LockMemory();      t->LockMemory();
200      t->EnableDestructor();      t->EnableDestructor();
201      t->Main();      t->Main();
202        return NULL;
203  }  }
204    
205  /// Callback function for the POSIX thread API  /// Callback function for the POSIX thread API

Legend:
Removed from v.496  
changed lines
  Added in v.497

  ViewVC Help
Powered by ViewVC