Searched defs:wait (Results 1 - 25 of 131) sorted by relevance

123456

/freebsd-head/crypto/openssh/openbsd-compat/
H A Dbsd-nextstep.h39 /* Swap out NeXT's BSD wait() for a more POSIX compliant one */
41 #define wait(a) posix_wait(a) macro
H A Dbsd-nextstep.c29 #include <sys/wait.h>
35 union wait statusp;
38 #undef wait /* Use NeXT's wait() function */ macro
39 wait_pid = wait(&statusp);
/freebsd-head/contrib/gdb/gdb/
H A Dproc-utils.h83 #define wait(X) wait_with_trace (X, __FILE__, __LINE__) macro
/freebsd-head/contrib/llvm-project/llvm/lib/Support/
H A DThreadPool.cpp28 // Create ThreadCount threads that will loop forever, wait on QueueCondition
38 QueueCondition.wait(LockGuard,
46 // in order for wait() to properly detect that even if the queue is
59 // Adjust `ActiveThreads`, in case someone waits on ThreadPool::wait()
64 // Notify task completion, in case someone waits on ThreadPool::wait()
71 void ThreadPool::wait() { function in class:ThreadPool
77 CompletionCondition.wait(LockGuard,
122 void ThreadPool::wait() {
134 // Wrap the future so that both ThreadPool::wait() can operate and the
142 wait();
[all...]
/freebsd-head/sys/contrib/ck/include/spinlock/
H A Dclh.h40 unsigned int wait; member in struct:ck_spinlock_clh
50 unowned->wait = false;
63 r = ck_pr_load_uint(&head->wait);
74 thread->wait = true;
86 while (ck_pr_load_uint(&previous->wait) == true)
99 * If there are waiters, they are spinning on the current node wait
111 ck_pr_store_uint(&(*thread)->wait, false);
116 * all the time in the world to successfully read updated wait flag.
H A Dhclh.h39 unsigned int wait; member in struct:ck_spinlock_hclh
53 unowned->wait = false;
68 r = ck_pr_load_uint(&head->wait);
81 thread->wait = true;
97 while (ck_pr_load_uint(&previous->wait) == true &&
115 while (ck_pr_load_uint(&previous->wait) == true)
128 * If there are waiters, they are spinning on the current node wait
138 ck_pr_store_uint(&(*thread)->wait, false);
143 * all the time in the world to successfully read updated wait flag.
/freebsd-head/sys/amd64/amd64/
H A Duma_machdep.c48 int wait)
56 malloc2vm_flags(wait) | VM_ALLOC_NOOBJ | VM_ALLOC_WIRED);
60 if ((wait & M_NODUMP) == 0)
63 if ((wait & M_ZERO) && (m->flags & PG_ZERO) == 0)
47 uma_small_alloc(uma_zone_t zone, vm_size_t bytes, int domain, u_int8_t *flags, int wait) argument
/freebsd-head/sys/arm64/arm64/
H A Duma_machdep.c46 int wait)
54 malloc2vm_flags(wait) | VM_ALLOC_NOOBJ | VM_ALLOC_WIRED);
58 if ((wait & M_NODUMP) == 0)
61 if ((wait & M_ZERO) && (m->flags & PG_ZERO) == 0)
45 uma_small_alloc(uma_zone_t zone, vm_size_t bytes, int domain, u_int8_t *flags, int wait) argument
/freebsd-head/sys/mips/mips/
H A Duma_machdep.c48 int wait)
56 pflags = malloc2vm_flags(wait) | VM_ALLOC_WIRED;
72 if ((wait & M_NOWAIT) != 0)
78 if ((wait & M_NODUMP) == 0)
81 if ((wait & M_ZERO) && (m->flags & PG_ZERO) == 0)
47 uma_small_alloc(uma_zone_t zone, vm_size_t bytes, int domain, u_int8_t *flags, int wait) argument
/freebsd-head/sys/riscv/riscv/
H A Duma_machdep.c46 int wait)
54 malloc2vm_flags(wait) | VM_ALLOC_NOOBJ | VM_ALLOC_WIRED);
58 if ((wait & M_NODUMP) == 0)
61 if ((wait & M_ZERO) && (m->flags & PG_ZERO) == 0)
45 uma_small_alloc(uma_zone_t zone, vm_size_t bytes, int domain, u_int8_t *flags, int wait) argument
/freebsd-head/sys/powerpc/powerpc/
H A Duma_machdep.c55 int wait)
64 malloc2vm_flags(wait) | VM_ALLOC_WIRED | VM_ALLOC_NOOBJ);
75 if ((wait & M_NODUMP) == 0)
86 if ((wait & M_ZERO) && (m->flags & PG_ZERO) == 0)
54 uma_small_alloc(uma_zone_t zone, vm_size_t bytes, int domain, u_int8_t *flags, int wait) argument
/freebsd-head/contrib/gdb/gdb/gdbserver/
H A Dtarget.h88 unsigned char (*wait) (char *status); member in struct:target_ops
/freebsd-head/contrib/atf/atf-c++/
H A Dutils.cpp96 atf::utils::wait(const pid_t pid, const int exitstatus, function in class:atf::utils
/freebsd-head/contrib/netbsd-tests/lib/libc/sys/
H A Dt_wait_noproc.c32 #include <sys/wait.h>
45 ATF_TC(wait); variable
46 ATF_TC_HEAD(wait, tc)
49 "Test that wait(2) returns ECHILD for no child");
52 ATF_TC_BODY(wait, tc)
54 ATF_REQUIRE_ERRNO(ECHILD, wait(NULL) == -1);
327 ATF_TP_ADD_TC(tp, wait);
/freebsd-head/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_bcopy.c166 sdp_post_sends(struct sdp_sock *ssk, int wait) argument
191 ssk->recv_bytes - SDP_HEAD_SIZE, wait);
224 mb = sdp_alloc_mb_data(ssk->socket, wait);
240 mb = sdp_alloc_mb_disconnect(sk, wait);
/freebsd-head/sys/kern/
H A Dsubr_busdma_bufalloc.c154 uint8_t *pflag, int wait)
162 wait, 0, BUS_SPACE_MAXADDR, VM_MEMATTR_UNCACHEABLE));
153 busdma_bufalloc_alloc_uncacheable(uma_zone_t zone, vm_size_t size, int domain, uint8_t *pflag, int wait) argument
H A Dsubr_eventhandler.c189 bool wait)
223 while (wait && list->el_runcount > 0)
188 _eventhandler_deregister(struct eventhandler_list *list, eventhandler_tag tag, bool wait) argument
/freebsd-head/contrib/tcsh/
H A Dtc.wait.h2 * tc.wait.h: <sys/wait.h> for machines that don't have it or have it and
37 * a little complicated #include <sys/wait.h>! :-(
38 * We try to use the system's wait.h when we can...
52 # include <sys/wait.h> /* 7.0 fixed it again */
56 # include <sys/wait.h>
64 # include "mi.wait.h"
67 # include <sys/wait.h>
74 * This wait is for big-endians and little endians
76 union wait { union
[all...]
/freebsd-head/contrib/ngatm/sscop/
H A Dsscop_main.c144 int wait = 0; local
208 wait = 1;
261 if(!wait)
/freebsd-head/contrib/gcclibs/libiberty/
H A Dpex-common.h2 with other subprocesses), and wait for it. Shared logic.
119 int (*wait) (struct pex_obj *, long /* child */, int * /* status */, member in struct:pex_funcs
/freebsd-head/contrib/ntp/lib/isc/win32/
H A Dcondition.c50 * for the wait condition
198 * we are waiting we need to release it and reacquire it as soon as the wait
202 * result of the wait. Note that EnterCriticalSection will wait to acquire
206 wait(isc_condition_t *cond, isc_mutex_t *mutex, DWORD milliseconds) { function
212 * Get the thread events needed for the wait
236 return (wait(cond, mutex, INFINITE));
257 return (wait(cond, mutex, milliseconds));
/freebsd-head/sys/powerpc/powermac/
H A Ddbdmavar.h41 /* Interrupt, branch, and wait flags */
44 uint8_t wait:2; member in struct:dbdma_command
/freebsd-head/usr.sbin/bluetooth/l2ping/
H A Dl2ping.c70 int32_t n, s, count, wait, flood, echo_size, numeric; local
90 wait = 1; /* sec */
117 wait = strtol(optarg, &endp, 10);
118 if (wait <= 0 || *endp != '\0')
231 a.tv_sec = wait;
281 "[-c count] [-i wait] [-S source] [-s size]\n");
287 fprintf(stderr, " -i wait Delay between packets (sec)\n");
/freebsd-head/contrib/unbound/util/
H A Dlocks.c46 #include <sys/wait.h>
132 * @param thread: the process id to wait for.
184 LONG wait = 1; /* wait 1 msec at first */ local
188 Sleep(wait); /* wait with sleep */
189 wait *= 2; /* exponential backoff for waiting */
/freebsd-head/sys/dev/pms/freebsd/driver/common/
H A Dlxutil.c38 Busy wait for number of mili-seconds
64 int wait = 0; local
100 for( ; wait < 20; wait++ ) {

Completed in 492 milliseconds

123456