/haiku-fatelf/src/bin/coreutils/man/ |
H A D | timeout.x | 2 timeout \- run a command with a time limit
|
/haiku-fatelf/src/system/kernel/arch/ppc/ |
H A D | arch_timer.cpp | 19 arch_timer_set_hardware_timer(bigtime_t timeout) argument 23 if(timeout < 1000) 24 timeout = 1000; 26 new_val_64 = (timeout * sTickRate) / 1000000;
|
/haiku-fatelf/src/libs/compat/freebsd_network/ |
H A D | synch.c | 17 const char* description, int timeout) 25 status = publishedConditionTimedWait(identifier, timeout); 42 _pause(const char* waitMessage, int timeout) argument 45 KASSERT(timeout != 0, ("pause: timeout required")); 46 return tsleep(&waitChannel, 0, waitMessage, timeout); 16 msleep(void* identifier, struct mtx* mutex, int priority, const char* description, int timeout) argument
|
/haiku-fatelf/headers/private/kernel/arch/ |
H A D | timer.h | 16 extern void arch_timer_set_hardware_timer(bigtime_t timeout);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/ |
H A D | t0.c | 18 * This utility software allows to run any executable file with a timeout limit. 21 * where n is the timeout duration in seconds, 33 * as if it has been timedout. This is usefull to check a timeout return code value. 50 int ret, timeout; local 67 printf(" n is the timeout duration in seconds,\n"); 70 printf(" The second use case will emulate an immediate timeout.\n\n"); 74 timeout = atoi(argv[1]); 75 if (timeout < 1) 77 fprintf(stderr, "Invalid timeout value \"%s\". Timeout must be a positive integer.\n", argv[1]); 81 /* Set the timeout */ [all...] |
/haiku-fatelf/headers/private/kernel/ |
H A D | syscall_restart.h | 14 /*! Helper function for syscalls with relative timeout. 15 Converts the given relative timeout to an absolute timeout or retrieves 17 restarted. A negative value means infinite timeout. 20 syscall_restart_handle_timeout_pre(bigtime_t& timeout) argument 22 // If restarted, get the timeout from the restart parameters. Otherwise 23 // convert relative timeout to an absolute one. 26 timeout = *(bigtime_t*)thread->syscall_restart.parameters; 27 else if (timeout >= 0) { 28 timeout 42 syscall_restart_handle_timeout_pre(uint32& flags, bigtime_t& timeout) argument 67 syscall_restart_handle_timeout_post(status_t error, bigtime_t timeout) argument [all...] |
H A D | user_mutex.h | 19 bigtime_t timeout); 22 const char* name, uint32 flags, bigtime_t timeout);
|
/haiku-fatelf/src/system/kernel/arch/m68k/ |
H A D | arch_timer.cpp | 23 arch_timer_set_hardware_timer(bigtime_t timeout) argument 25 M68KPlatform::Default()->SetHardwareTimer(timeout);
|
/haiku-fatelf/src/system/libroot/os/ |
H A D | wait_for_objects.cpp | 20 bigtime_t timeout) 22 return _kern_wait_for_objects(infos, numInfos, flags, timeout); 19 wait_for_objects_etc(object_wait_info* infos, int numInfos, uint32 flags, bigtime_t timeout) argument
|
/haiku-fatelf/src/system/libroot/posix/ |
H A D | poll.c | 19 poll(struct pollfd *fds, nfds_t numfds, int timeout) argument 21 RETURN_AND_SET_ERRNO_TEST_CANCEL(_kern_poll(fds, numfds, timeout * 1000LL));
|
/haiku-fatelf/src/system/libroot/posix/sys/ |
H A D | select.c | 37 bigtime_t timeout = -1LL; local 39 timeout = tv->tv_sec * 1000000LL + tv->tv_nsec / 1000LL; 44 status = _kern_select(numBits, readBits, writeBits, errorBits, timeout, 57 bigtime_t timeout = -1LL; local 59 timeout = tv->tv_sec * 1000000LL + tv->tv_nsec / 1000LL; 61 status = _kern_select(numBits, readBits, writeBits, errorBits, timeout, 73 bigtime_t timeout = -1LL; local 75 timeout = tv->tv_sec * 1000000LL + tv->tv_usec; 77 status = _kern_select(numBits, readBits, writeBits, errorBits, timeout,
|
/haiku-fatelf/headers/os/net/ |
H A D | SecureSocket.h | 16 bigtime_t timeout = B_INFINITE_TIMEOUT); 21 bigtime_t timeout = B_INFINITE_TIMEOUT); 24 virtual status_t WaitForReadable(bigtime_t timeout
|
H A D | AbstractSocket.h | 27 bigtime_t timeout = B_INFINITE_TIMEOUT) = 0; 31 virtual status_t SetTimeout(bigtime_t timeout); 39 virtual status_t WaitForReadable(bigtime_t timeout 41 virtual status_t WaitForWritable(bigtime_t timeout 49 bigtime_t timeout = B_INFINITE_TIMEOUT); 54 status_t _WaitFor(int flags, bigtime_t timeout) const;
|
/haiku-fatelf/src/apps/cortex/NodeManager/ |
H A D | AddOnHost.h | 61 bigtime_t timeout=B_INFINITE_TIMEOUT); 70 bigtime_t timeout=B_INFINITE_TIMEOUT); 74 bigtime_t timeout=B_INFINITE_TIMEOUT);
|
/haiku-fatelf/src/system/kernel/arch/mips/ |
H A D | arch_timer.cpp | 13 void arch_timer_set_hardware_timer(time_t timeout) argument
|
/haiku-fatelf/src/system/libroot/posix/signal/ |
H A D | sigtimedwait.cpp | 20 const struct timespec* timeout) 27 // translate the timeout 30 if (timeout != NULL) { 33 timeoutMicros += (bigtime_t)timeout->tv_sec * 1000000 34 + timeout->tv_nsec / 1000; 19 sigtimedwait(const sigset_t* set, siginfo_t* info, const struct timespec* timeout) argument
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_mutex_timedlock/ |
H A D | 4-1.c | 29 #define TIMEOUT 3 /* 3 seconds of timeout time for 81 struct timespec timeout; local 83 timeout.tv_sec = time(NULL) + TIMEOUT; 84 timeout.tv_nsec = 0; 88 ret = pthread_mutex_timedlock(&mutex, &timeout);
|
H A D | 5-1.c | 37 #define TIMEOUT 3 /* 3 seconds of timeout time for 89 struct timespec timeout; local 100 timeout.tv_sec = time(NULL) + TIMEOUT; 101 timeout.tv_nsec = INVALID_TIME; 104 ret = pthread_mutex_timedlock(&mutex, &timeout);
|
H A D | 5-2.c | 37 #define TIMEOUT 3 /* 3 seconds of timeout time for 89 struct timespec timeout; local 100 timeout.tv_sec = time(NULL) + TIMEOUT; 101 timeout.tv_nsec = INVALID_TIME; 104 ret = pthread_mutex_timedlock(&mutex, &timeout);
|
H A D | 5-3.c | 12 * [ETIMEDOUT] - The timeout expried and the mutex could not be locked. 33 #define TIMEOUT 3 /* 3 seconds of timeout time for 105 struct timespec timeout; local 107 timeout.tv_sec = time(NULL); 108 timeout.tv_nsec = 0; 112 ret = pthread_mutex_timedlock(&mutex, &timeout);
|
/haiku-fatelf/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/ |
H A D | IMAPProtocol.h | 34 bigtime_t timeout = kIMAP4ClientTimeout, 46 bigtime_t timeout, 91 bigtime_t timeout = kIMAP4ClientTimeout); 93 bigtime_t timeout = kIMAP4ClientTimeout); 97 bigtime_t timeout = kIMAP4ClientTimeout, 99 void ProcessAfterQuacks(bigtime_t timeout); 112 IMAPCommand* command, bigtime_t timeout); 115 bigtime_t timeout = kIMAP4ClientTimeout);
|
/haiku-fatelf/src/libs/posix_error_mapper/ |
H A D | pthread_rwlock.cpp | 33 (pthread_rwlock_t *lock, const struct timespec *timeout), 34 return B_TO_POSITIVE_ERROR(sReal_pthread_rwlock_timedrdlock(lock, timeout)); 49 (pthread_rwlock_t *lock, const struct timespec *timeout), 50 return B_TO_POSITIVE_ERROR(sReal_pthread_rwlock_timedwrlock(lock, timeout));
|
/haiku-fatelf/src/kits/network/libnetapi/ |
H A D | AbstractSocket.cpp | 89 BAbstractSocket::SetTimeout(bigtime_t timeout) argument 91 if (timeout < 0) 92 timeout = 0; 95 tv.tv_sec = timeout / 1000000LL; 96 tv.tv_usec = timeout % 1000000LL; 141 BAbstractSocket::WaitForReadable(bigtime_t timeout) const 143 return _WaitFor(POLLIN, timeout); 148 BAbstractSocket::WaitForWritable(bigtime_t timeout) const 150 return _WaitFor(POLLOUT, timeout); 182 bigtime_t timeout) 181 Connect(const BNetworkAddress& peer, int type, bigtime_t timeout) argument [all...] |
/haiku-fatelf/src/apps/icon-o-matic/generic/support/ |
H A D | RWLocker.h | 35 // locker has been deleted, or, if a timeout occured. Therefore 89 status_t ReadLockWithTimeout(bigtime_t timeout); 94 status_t WriteLockWithTimeout(bigtime_t timeout); 107 status_t _ReadLock(bigtime_t timeout); 108 status_t _WriteLock(bigtime_t timeout); 118 bigtime_t timeout);
|
/haiku-fatelf/src/apps/mediaplayer/support/ |
H A D | RWLocker.h | 35 // locker has been deleted, or, if a timeout occured. Therefore 89 status_t ReadLockWithTimeout(bigtime_t timeout); 94 status_t WriteLockWithTimeout(bigtime_t timeout); 107 status_t _ReadLock(bigtime_t timeout); 108 status_t _WriteLock(bigtime_t timeout); 118 bigtime_t timeout);
|