comparison test/torturethread.c @ 1154:d93862a3d821

Fixed compiler warnings in Watcom C.
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 03 Oct 2005 08:12:32 +0000
parents be9c9c8f6d53
children 1dd8bf30a109
comparison
equal deleted inserted replaced
1153:5bc98ce985c2 1154:d93862a3d821
20 exit(rc); 20 exit(rc);
21 } 21 }
22 22
23 int SubThreadFunc(void *data) { 23 int SubThreadFunc(void *data) {
24 while(! *(int volatile *)data) { 24 while(! *(int volatile *)data) {
25 ; /*SDL_Delay(10); /* do nothing */ 25 ; /*SDL_Delay(10);*/ /* do nothing */
26 } 26 }
27 return 0; 27 return 0;
28 } 28 }
29 29
30 int ThreadFunc(void *data) { 30 int ThreadFunc(void *data) {