CheckForPthreads.c: Do not use C++-style comments in C source
This commit is contained in:
parent
3187de20fd
commit
e166203f31
|
@ -16,8 +16,8 @@ int main(int ac, char*av[]){
|
||||||
pthread_create(&tid[0], 0, runner, (void*)1);
|
pthread_create(&tid[0], 0, runner, (void*)1);
|
||||||
pthread_create(&tid[1], 0, runner, (void*)2);
|
pthread_create(&tid[1], 0, runner, (void*)2);
|
||||||
|
|
||||||
#if defined(__BEOS__) && !defined(__ZETA__) // (no usleep on BeOS 5.)
|
#if defined(__BEOS__) && !defined(__ZETA__) /* (no usleep on BeOS 5.) */
|
||||||
usleep(1); // for strange behavior on single-processor sun
|
usleep(1); /* for strange behavior on single-processor sun */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
pthread_join(tid[0], 0);
|
pthread_join(tid[0], 0);
|
||||||
|
|
Loading…
Reference in New Issue