* Bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -180,11 +180,6 @@ void *wxThreadInternal::PthreadStart(void *ptr)
 | 
				
			|||||||
  pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
 | 
					  pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
 | 
				
			||||||
  void* status = thread->Entry();
 | 
					  void* status = thread->Entry();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // Delete the current thread from the list
 | 
					 | 
				
			||||||
  p_list_mutex.Lock();
 | 
					 | 
				
			||||||
  delete node_thread;
 | 
					 | 
				
			||||||
  p_list_mutex.Unlock();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  thread->Exit(status);
 | 
					  thread->Exit(status);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  return NULL;
 | 
					  return NULL;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -180,11 +180,6 @@ void *wxThreadInternal::PthreadStart(void *ptr)
 | 
				
			|||||||
  pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
 | 
					  pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
 | 
				
			||||||
  void* status = thread->Entry();
 | 
					  void* status = thread->Entry();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // Delete the current thread from the list
 | 
					 | 
				
			||||||
  p_list_mutex.Lock();
 | 
					 | 
				
			||||||
  delete node_thread;
 | 
					 | 
				
			||||||
  p_list_mutex.Unlock();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  thread->Exit(status);
 | 
					  thread->Exit(status);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  return NULL;
 | 
					  return NULL;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -180,11 +180,6 @@ void *wxThreadInternal::PthreadStart(void *ptr)
 | 
				
			|||||||
  pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
 | 
					  pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
 | 
				
			||||||
  void* status = thread->Entry();
 | 
					  void* status = thread->Entry();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // Delete the current thread from the list
 | 
					 | 
				
			||||||
  p_list_mutex.Lock();
 | 
					 | 
				
			||||||
  delete node_thread;
 | 
					 | 
				
			||||||
  p_list_mutex.Unlock();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  thread->Exit(status);
 | 
					  thread->Exit(status);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  return NULL;
 | 
					  return NULL;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user