Home
last modified time | relevance | path

Searched full:blocking (Results 1 – 25 of 869) sorted by relevance

12345678910>>...35

/freebsd/contrib/libpcap/
H A Dpcap_setnonblock.3pcap23 non-blocking mode on a capture device
42 puts a capture handle into ``non-blocking'' mode, or takes it out
43 of ``non-blocking'' mode, depending on whether the
52 ``non-blocking'' mode, an attempt to read from the capture descriptor
59 immediately rather than blocking waiting for packets to arrive.
78 a capture handle is not in ``non-blocking mode''; a call to
80 is required in order to put it into ``non-blocking'' mode.
90 returns the current ``non-blocking'' state of the capture descriptor on
H A Dpcap-septel.c89 /* receive packet in non-blocking mode in septel_read()
241 * to set non-blocking mode before we're activated, or in septel_create()
242 * query the state of non-blocking mode, they get an error, in septel_create()
243 * rather than having the non-blocking mode option set in septel_create()
275 * We don't support non-blocking mode. I'm not sure what we'd
283 fprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Non-blocking mode not supported on Septel devices"); in septel_getnonblock()
290 fprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Non-blocking mode not supported on Septel devices"); in septel_setnonblock()
H A Dpcap_get_selectable_fd.3pcap44 to wait for it to be possible to read packets without blocking, if such
66 the device must be put in non-blocking mode with a call to
76 Note that a device on which a read can be done without blocking may,
111 in non-blocking mode, and must arrange that the call
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DThreadPool.h60 /// Blocking wait for all the threads to complete and the queue to be empty.
61 /// It is an error to try to add new tasks while blocking on this call.
65 /// Blocking wait for only all the threads in the given group to complete.
76 /// used to wait for the task to finish and is *non-blocking* on destruction.
93 /// used to wait for the task to finish and is *non-blocking* on destruction.
109 /// used to wait for the task to finish and is *non-blocking* on destruction.
132 /// Blocking destructor: the pool will wait for all the threads to complete.
135 /// Blocking wait for all the threads to complete and the queue to be empty.
136 /// It is an error to try to add new tasks while blocking on this call.
140 /// Blocking wait for only all the threads in the given group to complete.
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DWindowsMMap.c127 static int lock(HANDLE handle, DWORD lockType, BOOL blocking) {
129 if (!blocking) in lock()
139 // In non-blocking mode, return an error if the file is locked. in lock()
140 if (!blocking && dw == ERROR_LOCK_VIOLATION) in lock()
162 BOOL blocking = (operation & LOCK_NB) == 0; in flock()
167 return lock(handle, LOCKFILE_EXCLUSIVE_LOCK, blocking); in flock()
170 return lock(handle, 0, blocking); in flock()
128 lock(HANDLE handle,DWORD lockType,BOOL blocking) lock() argument
163 BOOL blocking = (operation & LOCK_NB) == 0; flock() local
/freebsd/contrib/unbound/util/
H A Dtube.h141 * Set to blocking by the function,
142 * and back to non-blocking at exit of function.
147 * If set false, the first write is blocking.
149 * return 0 on error, in that case blocking/nonblocking of socket is
161 * Set to blocking by the function,
162 * and back to non-blocking at exit of function.
167 * If set false, the first read is blocking.
169 * return 0 on error, in that case blocking/nonblocking of socket is
191 * See if data is ready for reading on the tube without blocking.
199 * Wait for data to be ready for reading on the tube. is blocking.
/freebsd/lib/libsys/
H A Dpoll.297 Data other than high priority data may be read without blocking.
99 Normal data may be read without blocking.
101 Data with a non-zero priority may be read without blocking.
103 High priority data may be read without blocking.
106 Normal data may be written without blocking.
108 Data with a non-zero priority may be written without blocking.
157 will return without blocking.
H A Dsendfile.2111 instead of blocking when a busy page is encountered.
124 thus avoiding blocking on I/O.
168 When using a socket marked for non-blocking I/O,
244 blocking, and there are not enough
250 If the sending socket is non-blocking and there are not enough
260 Tune accordingly to avoid blocking!
306 The socket is marked for non-blocking I/O and not all data was sent due to
413 a non-blocking implementation had been introduced.
/freebsd/crypto/openssl/doc/man3/
H A DBIO_s_connect.pod87 BIO_set_nbio() sets the non blocking I/O flag to B<n>. If B<n> is
88 zero then blocking I/O is set. If B<n> is 1 then non blocking I/O
89 is set. Blocking I/O is the default. The call to BIO_set_nbio()
91 non blocking I/O is set during the connect process.
100 The call BIO_should_retry() should be used for non blocking connect BIOs
106 If blocking I/O is set then a non positive return value from any
125 If non blocking I/O is set then retries will be requested as appropriate.
H A DBIO_should_retry.pod77 If the underlying I/O structure is in a blocking mode almost all current
84 retry even if the underlying I/O structure is blocking, if a handshake
89 While an application may retry a failed non blocking call immediately
98 conditions of several non blocking BIOs in a single select() call
106 is to use non blocking I/O and use a timeout on the select() (or
111 The OpenSSL ASN1 functions cannot gracefully deal with non blocking I/O:
/freebsd/share/doc/psd/05.sysman/
H A D2.1.t35 may occur in a non-blocking or asynchronous fashion are
54 any data was transferred because of an error or use of non-blocking
107 Non-blocking and asynchronous operations
109 A process that wishes to do non-blocking operations on one of
110 its descriptors sets the descriptor in non-blocking mode as
124 may be performed on a descriptor in a non-blocking fashion.
/freebsd/contrib/netbsd-tests/net/net/
H A Dt_tcp.c147 FAIL("fl non blocking after reset"); in paccept_block()
177 "the non-blocking flag on non-blocking sockets"); in ATF_TC_HEAD()
190 "the non-blocking flag on non-blocking sockets"); in ATF_TC_HEAD()
203 "the non-blocking flag on non-blocking sockets"); in ATF_TC_HEAD()
/freebsd/share/man/man9/
H A Dlocking.938 Mutexes (also called "blocking mutexes") are the most commonly used
138 timeouts, blocking upgrades,
146 .Ss Non-blocking synchronization
165 except when performance or non-blocking guarantees are a major concern.
192 Condition variables may be used with blocking mutexes,
207 also handle event-based thread blocking.
235 event the thread was blocking on has occurred.
308 .Dq blocking
406 Note that non-blocking try operations on locks are always permitted.
/freebsd/secure/lib/libcrypto/man/man3/
H A DBIO_s_connect.3222 \&\fBBIO_set_nbio()\fR sets the non blocking I/O flag to \fBn\fR. If \fBn\fR is
223 zero then blocking I/O is set. If \fBn\fR is 1 then non blocking I/O
224 is set. Blocking I/O is the default. The call to \fBBIO_set_nbio()\fR
226 non blocking I/O is set during the connect process.
235 The call \fBBIO_should_retry()\fR should be used for non blocking connect BIOs
240 If blocking I/O is set then a non positive return value from any
259 If non blocking I/O is set then retries will be requested as appropriate.
H A DBIO_should_retry.3211 If the underlying I/O structure is in a blocking mode almost all current
218 retry even if the underlying I/O structure is blocking, if a handshake
223 While an application may retry a failed non blocking call immediately
232 conditions of several non blocking BIOs in a single \fBselect()\fR call
240 is to use non blocking I/O and use a timeout on the \fBselect()\fR (or
244 The OpenSSL \s-1ASN1\s0 functions cannot gracefully deal with non blocking I/O:
/freebsd/tests/sys/fifo/
H A Dfifo_open.c58 * non-blocking opens:
60 * - If O_NONBLOCK is set, the open() function shall return without blocking
75 * In order to test blocking/non-blocking behavior, test processes must
76 * potentially block themselves until released. As bugs in blocking result
267 errx(-1, "test_blocking_reader: blocking child didn't " in test_blocking_reader()
272 * Unblock the blocking reader. in test_blocking_reader()
342 errx(-1, "test_blocking_writer: blocking child didn't " in test_blocking_writer()
347 * Unblock the blocking writer. in test_blocking_writer()
H A Dfifo_io.c50 * - If there's no data to read, then for blocking fifos, we block, and for
51 * non-blocking, we return EAGAIN.
128 * so using non-blocking opens in order to avoid deadlocking the process.
211 * blocking state.
308 * Wrapper function for write, which uses a timer to interrupt any blocking.
309 * Because we can't reliably detect EINTR for blocking I/O, we also track
348 * Wrapper function for read, which uses a timer to interrupt any blocking.
349 * Because we can't reliably detect EINTR for blocking I/O, we also track
388 * This test operates on blocking and non-blocking fifo file descriptors, in
390 * mean: don't block for non-blocking sockets, and do block for blocking
[all …]
/freebsd/sys/dev/qat/qat_api/common/include/
H A Dlac_mem_pools.h99 * @blocking
136 * @blocking
155 * @blocking
174 * @blocking
190 * @blocking
208 * @blocking
223 * @blocking
242 * @blocking
263 * @blocking
/freebsd/contrib/ofed/librdmacm/man/
H A Dudpong.145 b | blocking - uses blocking calls
47 n | nonblocking - uses non-blocking calls
H A Driostream.148 b | blocking - uses blocking calls
50 n | nonblocking - uses non-blocking calls
H A Drstream.153 b | blocking - uses blocking calls
57 n | nonblocking - uses non-blocking calls
/freebsd/contrib/llvm-project/libcxx/include/
H A Dshared_mutex31 void lock(); // blocking
36 void lock_shared(); // blocking
54 void lock(); // blocking
63 void lock_shared(); // blocking
82 explicit shared_lock(mutex_type& m); // blocking
100 void lock(); // blocking
169 void lock(); // blocking
174 void lock_shared(); // blocking
/freebsd/sys/dev/qat/qat_api/include/lac/
H A Dcpa_cy_im.h85 * @blocking
86 * This function is synchronous and blocking.
137 * @blocking
138 * This function is synchronous and blocking.
264 * @blocking
265 * This function is synchronous and blocking.
310 * @blocking
311 * This function is synchronous and blocking.
/freebsd/contrib/ofed/libibverbs/man/
H A Dibv_get_async_event.3112 is a blocking function. If multiple threads call this function
117 The following code example demonstrates one possible way to work with async events in non-blocking
127 /* change the blocking mode of the async event queue */
/freebsd/share/doc/papers/diskperf/
H A Dtests.ms53 These programs read, write with two different blocking factors,
62 A blocking factor of 8192 is used by all programs except write_4096.
78 basic blocking factor of four Kilobytes and the same tests

12345678910>>...35