mirror of https://gitee.com/bigwinds/arangodb
lol self
This commit is contained in:
parent
2e301f118d
commit
057fd91646
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Reference in New Issue