mirror of
https://github.com/ptitSeb/box86.git
synced 2024-11-27 00:40:24 +00:00
Improved test11 a bit (for #604)
This commit is contained in:
parent
bc810d16f1
commit
a621a2b61f
BIN
tests/test11
BIN
tests/test11
Binary file not shown.
@ -53,8 +53,8 @@ void *thread_run(void *parm)
|
||||
while (!status) pthread_cond_wait(thread_state_cond_ptr, mutex_ptr);
|
||||
printf("Thread 2: Entered (%d/%d)\n", TLS_data1, TLS_data2);
|
||||
fflush(stdout);
|
||||
pthread_mutex_unlock(mutex_ptr);
|
||||
status = 0;
|
||||
pthread_mutex_unlock(mutex_ptr);
|
||||
pthread_cond_broadcast(thread_state_cond_ptr);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user