test/torturethread.c
changeset 1154 d93862a3d821
parent 1151 be9c9c8f6d53
child 1495 1dd8bf30a109
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) {