Mac OS X fixes.

This commit is contained in:
pdw
2003-08-27 18:29:27 +00:00
parent fc967957da
commit ebb28db1b6
4 changed files with 16 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ void *worker_thread(void *v) {
pthread_cond_signal(&cond);
pthread_mutex_unlock(&mtx);
while (1)
pause();
pthread_testcancel();
}
/* Start a thread, and have it set a variable to some other value, then signal