Searched refs:wait (Results 1 - 25 of 95) sorted by relevance

1234

/haiku/src/tests/kits/media/nodetest/
H A Dmisc.h8 void wait();
H A Dmisc.cpp28 void wait() function
/haiku/src/system/boot/platform/u-boot/
H A Dserial.h20 extern int serial_getc(bool wait);
H A Dserial.cpp55 serial_getc(bool wait) argument
60 return gUART->GetChar(wait);
/haiku/src/tests/system/kernel/
H A Dwait_test_1.c10 #include <sys/wait.h>
15 wait()/waitpid() should return -1 and set errno to ECHILD, since there
16 are no children to wait for.
22 pid_t pid = wait(&childStatus);
23 printf("wait() returned %ld (%s)\n", pid, strerror(errno));
H A Dwait_test_2.cpp10 #include <sys/wait.h>
15 wait() should wait only once. If any argument is given, waitpid() should return
59 pid = wait(&childStatus);
60 printf("wait() returned %ld (%s), child status %d\n",
H A Dwait_test_4.cpp10 #include <sys/wait.h>
15 wait() should wait only once. If any argument is given, waitpid() should return
59 pid = wait(&childStatus);
60 printf("wait() returned %ld (%s), child status %d\n",
H A Dpage_fault_cache_merge_test.cpp5 #include <sys/wait.h>
54 while (wait(&status) != child);
H A Dwait_test_3.cpp10 #include <sys/wait.h>
15 waitpid() should wait only once.
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dcounter.h29 counter_u64_alloc(int wait) argument
31 return (counter_u64_t)_kernel_malloc(sizeof(uint64_t), wait | M_ZERO);
/haiku/headers/compatibility/bsd/sys/
H A Dwait.h9 #include_next <sys/wait.h>
/haiku/headers/private/kernel/arch/generic/
H A Ddebug_uart_8250.h33 int GetChar(bool wait);
/haiku/src/add-ons/media/media-add-ons/radeon/
H A DI2CPort.cpp177 for (int wait = 0; wait < 100; wait++) {
216 for (int wait = 0; wait < 100; wait++) {
236 for (int wait = 0; wait < 100; wait++) {
260 // wait G
[all...]
/haiku/src/apps/debuganalyzer/model_loader/
H A DAbstractModelLoader.h22 virtual void Abort(bool wait);
H A DAbstractModelLoader.cpp65 AbstractModelLoader::Abort(bool wait) argument
79 if (wait)
/haiku/headers/private/kernel/arch/arm/
H A Darch_uart_pl011.h34 int GetChar(bool wait);
/haiku/src/tests/system/benchmarks/
H A Dforkbench.c11 #include <sys/wait.h>
14 * Benchmark program to calculate fork+wait
62 while ((pid = wait(&status)) != -1 && pid != child)
/haiku/src/apps/cortex/support/
H A DBasicThread.h103 status_t stop(bool wait=true) { argument
115 if(wait) {
/haiku/src/system/libroot/posix/sys/
H A Dwait.cpp8 #include <sys/wait.h>
21 wait(int* _status) function
29 // wait
/haiku/src/system/kernel/arch/riscv64/
H A Darch_uart_sifive.cpp81 ArchUARTSifive::GetChar(bool wait) argument
86 } while (!wait || data.isEmpty);
/haiku/headers/private/kernel/
H A Dthread.h180 blocking it with the given wait/interrupt flags.
217 return atomic_get(&thread->wait.status) == 1;
224 (IOW, to let it wait for someone else to unblock it or optionally time out
267 - Check client condition and compare with block result. E.g. if the wait was
302 Care must be taken when the wait can be interrupted or can time out,
329 thread->wait.flags = flags;
330 thread->wait.type = type;
331 thread->wait.object = object;
332 atomic_set(&thread->wait.status, 1);
354 if (atomic_test_and_set(&thread->wait
[all...]
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_uipc_mbuf2.c272 m_dup1(struct mbuf *m, int off, int len, int wait) argument
285 n = m_getcl(wait, m->m_type, M_PKTHDR);
287 n = m_getcl(wait, m->m_type, 0);
290 n = m_gethdr(wait, m->m_type);
292 n = m_get(wait, m->m_type);
297 if (copyhdr && !m_dup_pkthdr(n, m, wait)) {
319 m_tag_alloc(uint32_t cookie, int type, int len, int wait) argument
323 MBUF_CHECKSLEEP(wait);
326 t = malloc(len + sizeof(struct m_tag), M_PACKET_TAGS, wait);
/haiku/src/system/kernel/arch/arm64/
H A Darch_uart_linflex.cpp133 ArchUARTlinflex::GetChar(bool wait) argument
142 if (wait) {
155 if (wait) {
/haiku/headers/posix/sys/
H A Dwait.h21 /* macros to interprete wait()/waitpid() status */
33 P_ALL, /* wait for any children, ignore ID */
34 P_PID, /* wait for the child whose process ID matches */
35 P_PGID /* wait for any child whose process group ID matches */
43 extern pid_t wait(int *_status);
/haiku/headers/tools/cppunit/cppunit/ui/text/
H A DTestRunner.h37 * runner.run( "", true ); // Run all tests and wait
57 * runner.run( "", true ); // Run all tests and wait
87 virtual void wait( bool doWait );

Completed in 964 milliseconds

1234