comparison test/torturethread.c @ 1618:3b08574f4c60

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Wed, 12 Apr 2006 14:25:29 +0000
parents d5298e8f22b3
children 14717b52abc0
comparison
equal deleted inserted replaced
1617:b255b4058d37 1618:3b08574f4c60
81 81
82 for(i = 0; i < NUMTHREADS; i++) { 82 for(i = 0; i < NUMTHREADS; i++) {
83 time_for_threads_to_die[i] = 1; 83 time_for_threads_to_die[i] = 1;
84 } 84 }
85 85
86 for(i = NUMTHREADS-1; i >= 0; --i) { 86 for(i = 0; i < NUMTHREADS; i++) {
87 SDL_WaitThread(threads[i], NULL); 87 SDL_WaitThread(threads[i], NULL);
88 } 88 }
89 SDL_Quit(); 89 SDL_Quit();
90 return(0); 90 return(0);
91 } 91 }