/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/functional/threads/tools/ |
H A D | watchdogtimer.sh | 7 TIMEOUT=600 12 sleep $TIMEOUT
|
/haiku-fatelf/headers/private/midi/ |
H A D | protocol.h | 32 #define TIMEOUT 2000000 macro
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_mutex_timedlock/ |
H A D | 1-1.c | 36 #define TIMEOUT 3 /* 3 seconds of timeout time for macro 95 if(time_diff.tv_sec < TIMEOUT) 97 printf("Test FAILED: Timed lock did not wait long enough. (%d secs.)\n", TIMEOUT); 120 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; 123 printf("Timed mutex lock will block for %d seconds starting from: %ld.%06ld\n", TIMEOUT, (long)currsec1.tv_sec, (long)currsec1.tv_usec);
|
H A D | 2-1.c | 39 #define TIMEOUT 3 /* 3 seconds of timeout time for macro 98 if(time_diff.tv_sec < TIMEOUT) 100 printf("Test FAILED: Timed lock did not wait long enough. (%d secs.)\n", TIMEOUT); 136 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; 139 printf("Timed mutex lock will block for %d seconds starting from: %ld.%06ld\n", TIMEOUT, (long)currsec1.tv_sec, (long)currsec1.tv_usec);
|
H A D | 4-1.c | 29 #define TIMEOUT 3 /* 3 seconds of timeout time for macro 83 timeout.tv_sec = time(NULL) + TIMEOUT;
|
H A D | 5-1.c | 37 #define TIMEOUT 3 /* 3 seconds of timeout time for macro 100 timeout.tv_sec = time(NULL) + TIMEOUT;
|
H A D | 5-2.c | 37 #define TIMEOUT 3 /* 3 seconds of timeout time for macro 100 timeout.tv_sec = time(NULL) + TIMEOUT;
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_attr_init/ |
H A D | 2-1.c | 30 # define TIMEOUT 5 /* Timeout value of 5 seconds. */ macro 45 sleep(TIMEOUT);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_join/ |
H A D | 3-1.c | 29 #define TIMEOUT 10 /* Timeout period for cancel request is 10 seconds. */ macro 51 sleep(TIMEOUT);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
H A D | 6-1.c | 58 #define TIMEOUT 5 macro 95 abs_timeout.tv_sec += TIMEOUT; 97 printf("thread: attempt timed read lock, %d seconds\n", TIMEOUT); 144 }while(thread_state != ENTERED_THREAD && cnt++ < TIMEOUT); 159 /* wait at most 2*TIMEOUT seconds */ 163 }while(thread_state != EXITING_THREAD && cnt++ < 2*TIMEOUT); 165 if(cnt >= 2*TIMEOUT) 186 if(wait_time.tv_sec < TIMEOUT) 189 TIMEOUT, (long int)wait_time.tv_sec, (long int)wait_time.tv_usec);
|
H A D | 6-2.c | 48 #define TIMEOUT 2 macro 62 sleep_time_req.tv_sec = TIMEOUT*2; 100 abs_timeout.tv_sec = before_wait.tv_sec + TIMEOUT; 105 printf("thread: attempt timed read lock, %d seconds\n", TIMEOUT); 159 }while(thread_state != ENTERED_THREAD && cnt++ < TIMEOUT); 180 sleep(TIMEOUT); 207 /* wait at most 4*TIMEOUT seconds for thread to exit */ 211 }while(thread_state != EXITING_THREAD && cnt++ < 4*TIMEOUT); 214 if(cnt >= 4*TIMEOUT)
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_rwlock_timedwrlock/ |
H A D | 6-1.c | 58 #define TIMEOUT 5 macro 93 abs_timeout.tv_sec = before_wait.tv_sec + TIMEOUT; 96 printf("thread: attempt timed write lock, %d seconds\n", TIMEOUT); 143 }while(thread_state != ENTERED_THREAD && cnt++ < TIMEOUT); 158 /* wait at most 2*TIMEOUT seconds */ 162 }while(thread_state != EXITING_THREAD && cnt++ < 2*TIMEOUT); 164 if(cnt >= 2*TIMEOUT) 185 if(time_diff.tv_sec < TIMEOUT) 188 TIMEOUT, (long)time_diff.tv_sec, (long)time_diff.tv_usec);
|
H A D | 6-2.c | 48 #define TIMEOUT 2 macro 62 sleep_time_req.tv_sec = TIMEOUT*2; 100 abs_timeout.tv_sec = before_wait.tv_sec + TIMEOUT; 105 printf("thread: attempt timed write lock, %d seconds\n", TIMEOUT); 159 }while(thread_state != ENTERED_THREAD && cnt++ < TIMEOUT); 180 sleep(TIMEOUT); 207 /* wait at most 4*TIMEOUT seconds for thread to exit */ 211 }while(thread_state != EXITING_THREAD && cnt++ < 4*TIMEOUT); 214 if(cnt >= 4*TIMEOUT)
|
H A D | 1-1.c | 38 #define TIMEOUT 3 macro 64 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; 67 printf("thread: attempt timed write lock, %d secs\n", TIMEOUT); 123 }while (thread_state !=EXITING_THREAD && cnt++ < 2*TIMEOUT); 170 /* If the shared data is not altered by child after TIMEOUT*2 seconds, 177 }while (thread_state !=EXITING_THREAD && cnt++ < 2*TIMEOUT); 190 if(time_diff.tv_sec < TIMEOUT) 192 printf("Test FAILED: the timer expired and blocking was terminated, but the timeout is not correct: expected to wait for %d, but waited for %ld.%06ld\n", TIMEOUT, (long)time_diff.tv_sec, (long)time_diff.tv_usec); 242 }while (thread_state !=EXITING_THREAD && cnt++ < 2*TIMEOUT); 255 if(time_diff.tv_sec < TIMEOUT) [all...] |
H A D | 3-1.c | 40 #define TIMEOUT 3 macro 76 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; 79 printf("thread: attempt timed write lock, %d secs\n", TIMEOUT); 146 }while (thread_state !=EXITING_THREAD && cnt++ < 2*TIMEOUT); 193 /* If the shared data is not altered by child after TIMEOUT*2 seconds, 200 }while (thread_state !=EXITING_THREAD && cnt++ < 2*TIMEOUT); 213 if(time_diff.tv_sec < TIMEOUT) 218 TIMEOUT, (long)time_diff.tv_sec, 270 }while (thread_state !=EXITING_THREAD && cnt++ < 2*TIMEOUT); 283 if(time_diff.tv_sec < TIMEOUT) [all...] |
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mq_timedreceive/ |
H A D | 8-1.c | 32 #define TIMEOUT 3 macro 72 ts.tv_sec = ts.tv_sec + TIMEOUT; 74 ts.tv_sec = time(NULL) + TIMEOUT; 85 if ((newtime - oldtime) < TIMEOUT) { 112 sleep(TIMEOUT + 3); /* Parent is probably blocking
|
H A D | 5-2.c | 34 #define TIMEOUT 3 macro 71 ts.tv_sec = time(NULL) + TIMEOUT; 76 if ((newtime - oldtime) < TIMEOUT) { 102 sleep(TIMEOUT + 3); /* Parent is probably blocking
|
H A D | 18-1.c | 35 #define TIMEOUT 3 macro 72 ts.tv_sec = time(NULL) + TIMEOUT; 107 sleep(TIMEOUT + 3); /* Parent is probably blocking,
|
H A D | 18-2.c | 36 #define TIMEOUT 3 macro 72 ts.tv_sec = time(NULL) - TIMEOUT; 106 sleep(TIMEOUT + 3); /* Parent is probably blocking
|
/haiku-fatelf/src/kits/media/ |
H A D | DataExchange.cpp | 19 #define TIMEOUT 15000000 // 15 seconds timeout! macro 74 static_cast<BHandler*>(NULL), TIMEOUT); 87 TIMEOUT, TIMEOUT); 135 B_RELATIVE_TIMEOUT, TIMEOUT); 150 B_RELATIVE_TIMEOUT, TIMEOUT); 167 B_RELATIVE_TIMEOUT, TIMEOUT); 183 B_RELATIVE_TIMEOUT, TIMEOUT); 194 B_RELATIVE_TIMEOUT, TIMEOUT);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_create/ |
H A D | 3-1.c | 29 # define TIMEOUT 10 /* Timeout value of 10 seconds. */ macro 43 sleep(TIMEOUT);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_setcanceltype/ |
H A D | 1-1.c | 36 # define TIMEOUT 10 /* Time out time in seconds */ macro 114 * cleanup handler, or for TIMEOUT(10) seconds if the cancel request was not honored 116 while((cleanup_flag == 0) && (i != TIMEOUT))
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_timedwait/ |
H A D | 4-1.c | 23 #define TIMEOUT 3 macro 47 timeout.tv_sec = curtime.tv_sec + TIMEOUT; 50 fprintf(stderr,"Thread1 is waiting for the cond for %d seconds\n", TIMEOUT);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mq_timedsend/ |
H A D | 20-1.c | 34 #define TIMEOUT 5 macro 74 ts.tv_sec=currsec+TIMEOUT; 79 * after TIMEOUT+1 seconds and call a handler to end the test 85 alarm(TIMEOUT+1);
|
/haiku-fatelf/src/bin/network/atftpd/ |
H A D | tftp_def.h | 32 #define TIMEOUT 5 /* Client timeout */ macro
|