forked from OSchip/llvm-project
parent
bdeff959a1
commit
ddd7b6a1c8
|
@ -21,8 +21,7 @@ void ExitFromThread() {
|
|||
int res;
|
||||
res = pthread_create(&tid, 0, exit_thread_func, 0);
|
||||
assert(res == 0);
|
||||
res = pthread_join(tid, 0);
|
||||
assert(res == 0);
|
||||
pthread_join(tid, 0);
|
||||
}
|
||||
|
||||
int main() {
|
||||
|
|
Loading…
Reference in New Issue