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

12345

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dctl_transact.c47 /* the amount of time to wait for a response, in seconds */
68 struct timeval wait; local
70 wait.tv_sec = CTL_WAIT;
71 wait.tv_usec = 0;
106 0, 0, &wait)) < 0) {
139 timerclear(&wait);
140 nready = select(32, (fd_set *)&read_mask, 0, 0, &wait);
H A Dmsgs.c63 static struct timeval wait = { MSG_INTERVAL, 0}; variable in typeref:struct:timeval
77 itimer.it_value = itimer.it_interval = wait;
H A Dio.c67 struct timeval wait; local
76 * wait on both the other process (sockt_mask) and
86 wait.tv_sec = A_LONG_TIME;
87 wait.tv_usec = 0;
89 nb = select(32, (fd_set *)&read_set, 0, 0, &wait);
113 pause(); /* wait for Ctrl-C */
/illumos-gate/usr/src/lib/libpri/common/
H A Dpri.c95 * - wait: specifies whether caller wants to wait for a new PRI,
96 * PRI_GET is no-wait, PRI_WAITGET is wait-forever
111 * - If wait time must be bounded, the caller can spawn a thread
134 pri_get(uint8_t wait, uint64_t *token, uint64_t **buf, argument
147 if (wait == PRI_WAITGET) {
148 /* wait until have new PRI with different token */
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dupdate.c199 * Flag indication if we should wait for completion
205 update_map_if_required(map_ctrl *map, bool_t wait) argument
212 if (wait) {
293 if (!wait && (getpid() == parent_pid))
309 if (wait) {
/illumos-gate/usr/src/cmd/syslogd/
H A Dqueue.c91 dataq_waiter_t wait; local
96 wait.wakeup = 0;
97 (void) pthread_cond_init(&wait.cv, NULL);
99 ll_enqueue(&dataq->waiters, &wait.list);
100 while (wait.wakeup == 0)
101 (void) pthread_cond_wait(&wait.cv, &dataq->lock);
104 (void) pthread_cond_destroy(&wait.cv);
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_uthread.c74 /* max wait time for user thread stop */
99 * can be stopped within the max wait time, CPR will proceed. Otherwise
103 cpr_stop_user(int wait) argument
166 utstop_timedwait(wait);
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_queue.c64 cond_t *wait; member in struct:queue
72 * queues can operate in one of two modes: timed-wait, and infinite
73 * wait. The timeout parameter specifies which of these modes should
78 cond_t *wait; local
91 if (!(wait = calloc(1, sizeof (*wait)))) {
96 (void) cond_init(wait, NULL, NULL);
107 q->wait = wait;
138 (void) cond_signal(q->wait);
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dwaitpid.c33 * All of the wait*() functions are cancellation points.
36 #pragma weak _wait = wait
42 #include <wait.h>
49 * Convert the siginfo_t code and status fields to an old style wait status.
111 wait(int *stat_loc) function
/illumos-gate/usr/src/cmd/csh/
H A Dwait.h19 * This file holds definitions relevant to the wait system call.
34 * wait and wait3. If w_stopval==WSTOPPED, then the second structure
37 union wait { union
86 * wait to not hang if there are no stopped or terminated processes, rather
89 * which stop due to signals. If children are stopped and a wait without
93 #define WNOHANG 1 /* dont hang in wait */
100 extern pid_t csh_wait3(union wait *w, int options, struct rusage *rp);
/illumos-gate/usr/src/cmd/lms/SyncLib/src/
H A DEventUnix.cpp113 bool Event::wait(unsigned long msecs_p) function in class:Event
128 //printf("@@@@ Event (%p) wait (cond %p), set: %d (to %d)\n",
134 //printf("@@@@ Event (%p) after wait, set: %d\n", this, _osEvent->_ose->_set);
137 //printf("@@@@ Event (%p) after wait, set: %d\n", this, _osEvent->_ose->_set);
147 //printf("@@@@ Event (%p) wait (cond %p), set: %d\n",
153 //printf("@@@@ Event (%p) after wait, set: %d\n", this, _osEvent->_ose->_set);
H A DThreadUnix.cpp96 bool Thread::wait(unsigned long msecs_p) const function in class:Thread
123 //printf("@@@@ Thread wait (%p), running: %d\n", _osThread, _osThread->_running);
128 //printf("@@@@ Thread after wait\n");
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dmy3126.c34 static int my3126_reset(struct cphy *cphy, int wait) argument
H A Dxpak.c32 static int xpak_reset(struct cphy *cphy, int wait) argument
135 * Errata #26 states to wait 5 seconds after reset before transceiver
H A Dmv88x201x.c67 static int mv88x201x_reset(struct cphy *cphy, int wait) argument
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dauthdesubr.c79 struct timeval *timep, struct timeval *wait)
137 timo = TIMEVAL_TO_TICK(wait);
232 timo = TIMEVAL_TO_TICK(wait);
78 rtime(struct knetconfig *synconfig, struct netbuf *addrp, int calltype, struct timeval *timep, struct timeval *wait) argument
/illumos-gate/usr/src/ucbhead/sys/
H A Dwait.h48 * This wait.h is a combination of SunOS's wait.h and SysV wait.h
49 * The structure 'union wait' is taken from SunOS, while the
55 * wait and wait3. If w_stopval==WSTOPPED, then the second structure
58 union wait { union
97 /* ----- begin SysV wait.h ----- */
107 * arguments to wait functions
110 #define WEXITED 0001 /* wait for processes that have exite */
111 #define WTRAPPED 0002 /* wait fo
[all...]
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dbootparams.c86 int resp_wait; /* secs to wait for resp */
109 * Retransmit/wait for up to resp_wait secs.
145 resp_wait = 0; /* go to default wait now. */
224 int wait; local
270 wait = def_wait;
274 xdr_bp_getfile_res, (caddr_t)&res, rexmit, wait,
287 wait = def_wait;
301 wait, &to, &from, AUTH_NONE);
328 rexmit = wait;
329 wait
[all...]
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_cb.c125 cb_disable_nintr_reg(cb_t *cb_p, ib_ino_t ino, int wait) argument
135 if (wait) {
140 /* busy wait if there is interrupt being processed */
159 cb_disable_nintr(cb_t *cb_p, enum cb_nintr_index idx, int wait) argument
166 cb_disable_nintr_reg(cb_p, ino, wait);
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_cb.c131 pcmu_cb_disable_nintr_reg(pcmu_cb_t *pcb_p, pcmu_ib_ino_t ino, int wait) argument
141 if (wait) {
148 /* busy wait if there is interrupt being processed */
182 pcmu_cb_disable_nintr(pcmu_cb_t *pcb_p, pcmu_cb_nintr_index_t idx, int wait) argument
192 pcmu_cb_disable_nintr_reg(pcb_p, ino, wait);
/illumos-gate/usr/src/lib/libnisdb/
H A Dnisdb_rw.h146 uint32_t wait; /* Blocked on mutex */ member in struct:__nisdb_rwlock
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dwait.c45 #include <sys/wait.h>
64 * arguments to wait functions from SVR4
67 #define N_WEXITED 0001 /* wait for processes that have exite */
68 #define N_WTRAPPED 0002 /* wait for processes stopped while tracing */
69 #define N_WSTOPPED 0004 /* wait for processes stopped by signals */
70 #define N_WCONTINUED 0010 /* wait for processes continued */
74 #define N_WNOHANG 0100 /* non blocking form of wait */
75 #define N_WNOWAIT 0200 /* non destructive form of wait */
109 wait(int *status) function
136 * BSD's wait* routine
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/
H A Dpiclenvmond.c252 post_dr_req_event(picl_nodehdl_t fruh, char *dr_req_type, uint8_t wait) argument
292 wait);
303 uint8_t wait)
336 nvl_size, nodehdl, wait);
342 post_cpu_state_change_event(picl_nodehdl_t fruh, char *event_type, uint8_t wait) argument
373 nvl_size, fruh, wait);
379 post_sensor_event(picl_nodehdl_t hdl, char *sensor_evalue, uint8_t wait) argument
413 hdl, wait);
302 post_dr_ap_state_change_event(picl_nodehdl_t nodehdl, char *dr_hint, uint8_t wait) argument
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_iob.h61 kcondvar_t wait; /* sync for sleeping on synch i/o */ member in struct:iob_hook
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac_ioctl.h86 int32_t wait; member in struct:aac_get_adapter_fib

Completed in 293 milliseconds

12345