1
0
Fork 0
This commit is contained in:
Jan Steemann 2013-10-29 09:39:36 +01:00
parent 2e301f118d
commit 057fd91646
1 changed files with 2 additions and 2 deletions

View File

@ -198,7 +198,7 @@ bool TRI_StartThread (TRI_thread_t* thread,
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
int TRI_StopThread (TRI_thread_t* thread) { int TRI_StopThread (TRI_thread_t* thread) {
pthread_cancel(*thread); return pthread_cancel(*thread);
} }
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
@ -214,7 +214,7 @@ int TRI_DetachThread (TRI_thread_t* thread) {
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
int TRI_JoinThread (TRI_thread_t* thread) { int TRI_JoinThread (TRI_thread_t* thread) {
pthread_join(*thread, 0); return pthread_join(*thread, 0);
} }
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////