Searched refs:LOOPS (Results 1 - 2 of 2) sorted by relevance

/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_mutex_lock/
H A D1-1.c31 #define LOOPS 4 macro
60 if(value != (THREAD_NUM) * LOOPS) {
61 fprintf(stderr,"Using %d threads and each loops %d times\n", THREAD_NUM, LOOPS);
62 fprintf(stderr,"Final value must be %d instead of %d\n", (THREAD_NUM)*LOOPS, value);
80 for (i=0; i<LOOPS; ++i) {
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_mutex_unlock/
H A D2-1.c34 #define LOOPS 3 macro
57 if(value != (THREAD_NUM) * LOOPS) {
58 fprintf(stderr,"Using %d threads and each loops %d times\n", THREAD_NUM, LOOPS);
59 fprintf(stderr,"Final value must be %d instead of %d\n", (THREAD_NUM)*LOOPS, value);
76 for (i=0; i<LOOPS; ++i) {

Completed in 42 milliseconds