Home
last modified time | relevance | path

Searched refs:blocking (Results 1 – 25 of 110) sorted by relevance

12345

/openbsd-src/gnu/llvm/compiler-rt/lib/profile/
H A DWindowsMMap.c128 int lock(HANDLE handle, DWORD lockType, BOOL blocking) { in lock() argument
130 if (!blocking) in lock()
141 if (!blocking && dw == ERROR_LOCK_VIOLATION) in lock()
163 BOOL blocking = (operation & LOCK_NB) == 0; in flock() local
168 return lock(handle, LOCKFILE_EXCLUSIVE_LOCK, blocking); in flock()
171 return lock(handle, 0, blocking); in flock()
/openbsd-src/gnu/usr.bin/perl/dist/IO/lib/IO/
H A DSocket.pm118 my $blocking;
120 $blocking = $sock->blocking(0) if $timeout;
155 elsif ($blocking || !($!{EINPROGRESS} || $!{EWOULDBLOCK})) {
161 $sock->blocking(1) if $blocking;
168 # Enable/disable blocking IO on sockets.
169 # Without args return the current status of blocking,
174 sub blocking { subroutine
177 return $sock->SUPER::blocking(
[all...]
/openbsd-src/sys/dev/
H A Dmidi.c93 if (buf->blocking) { in midi_buf_wakeup()
94 wakeup(&buf->blocking); in midi_buf_wakeup()
95 buf->blocking = 0; in midi_buf_wakeup()
143 sc->inbuf.blocking = 1; in midiread()
144 error = msleep_nsec(&sc->inbuf.blocking, &audio_lock, in midiread()
284 sc->outbuf.blocking = 1; in midiwrite()
285 error = msleep_nsec(&sc->outbuf.blocking, &audio_lock, in midiwrite()
437 sc->inbuf.blocking = sc->outbuf.blocking = 0; in midiopen()
465 sc->outbuf.blocking in midiclose()
[all...]
H A Daudio.c87 int blocking; /* read/write blocking */
142 int mix_blocking; /* read() blocking */
299 if (buf->blocking) { in audio_buf_wakeup()
300 wakeup(&buf->blocking);
301 buf->blocking = 0;
546 DEVNAME(sc), sc->play.blocking);
623 DEVNAME(sc), sc->rec.blocking);
1405 wakeup(&sc->play.blocking); in audio_detach()
1406 wakeup(&sc->rec.blocking); in audio_detach()
81 int blocking; /* read/write blocking */ global() member
[all...]
H A Dmidivar.h37 int blocking; /* read/write blocking */
38 int blocking; /* read/write blocking */ global() member
/openbsd-src/gnu/usr.bin/perl/cpan/IO-Socket-IP/lib/IO/Socket/
H A DIP.pm322 If defined but false, the socket will be set to non-blocking mode. Otherwise
323 it will default to blocking mode. See the NON-BLOCKING section below for more
329 when in blocking mode. If missing, no timeout is applied other than that
330 provided by the underlying operating system. When in non-blocking mode this
550 my $blocking = $arg->{Blocking};
551 defined $blocking or $blocking = 1;
622 ${*$self}{io_socket_ip_blocking} = $blocking;
627 $self->setup or !$blocking or return undef;
645 $self->blocking(
[all...]
/openbsd-src/regress/sys/kern/sosplice/
H A DRelay.pm94 $as->blocking(0)
135 $cs->blocking(0)
147 $cs->blocking(0)
H A DServer.pm85 $as->blocking(0)
H A DClient.pm93 $cs->blocking(0)
/openbsd-src/gnu/usr.bin/perl/dist/IO/t/
H A Dio_sock.t200 print "not " unless $server->blocking;
208 $server->blocking(0);
209 print "not " if $server->blocking;
395 my $status = $sock->blocking;
/openbsd-src/gnu/llvm/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
166 void lock() _LIBCPP_THREAD_SAFETY_ANNOTATION(acquire_capability()); // blocking
171 void lock_shared() _LIBCPP_THREAD_SAFETY_ANNOTATION(acquire_shared_capability()); // blocking
/openbsd-src/gnu/usr.bin/perl/t/io/
H A Deintr_print.t59 $in->blocking(1);
82 $out->blocking(1);
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_common_test.cpp427 for (bool blocking : { false, true }) { in TEST()
428 EXPECT_FALSE(GetRandom(nullptr, 32, blocking)); in TEST()
429 EXPECT_FALSE(GetRandom(buffer_1, 0, blocking)); in TEST()
430 EXPECT_FALSE(GetRandom(buffer_1, 512, blocking)); in TEST()
434 EXPECT_TRUE(GetRandom(buffer_1, size, blocking)); in TEST()
435 EXPECT_TRUE(GetRandom(buffer_2, size, blocking)); in TEST()
/openbsd-src/usr.sbin/unbound/testcode/
H A Dasynclook.c407 int i, r, cancel=0, blocking=0, ext=0; in main() local
439 blocking = 1; in main()
515 if(blocking) { in main()
528 if(blocking) in main()
/openbsd-src/gnu/usr.bin/perl/cpan/Term-ReadKey/
H A DREADME1 Term::ReadKey 2.36 - Change terminal modes, and perform non-blocking reads.
27 character at a time), and also provides non-blocking reads of stdin, as well
65 you want a call that is non-blocking and returns immediately if no
104 Non-blocking support is provided via the ReadKey and ReadLine functions. If
112 Note that a non-blocking ReadLine probably won't do what you expect,
/openbsd-src/gnu/usr.bin/perl/cpan/IO-Socket-IP/t/
H A D22timeout.t23 ok( $client->blocking, 'client is in blocking mode after connect' );
H A D30nonblocking-connect.t65 ok( !$socket->blocking, '$socket->blocking' );
H A D01local-client-v4.t53 ok( $socket->blocking, "\$socket is in blocking mode after connect for $socktype" );
/openbsd-src/gnu/usr.bin/perl/dist/threads/t/
H A Dstate.t216 # 3 running, blocking on $go
217 # 2 running, blocking on $go, join pending
218 # 2 running, blocking on join of above
/openbsd-src/gnu/usr.bin/perl/dist/IO/lib/IO/Socket/
H A DUNIX.pm34 $sock->blocking($arg->{Blocking}) or
/openbsd-src/gnu/usr.bin/perl/dist/Thread-Queue/t/
H A D09_ended.t50 # Make sure there's nothing in the queue and threads are blocking
93 # Make sure there's nothing in the queue and threads are blocking
/openbsd-src/regress/sys/kern/sosplice/loop/
H A Dchain.pl107 $as[-1]->blocking(0);
/openbsd-src/regress/sys/net/pf_divert/
H A DServer.pm104 $as->blocking(0)
/openbsd-src/gnu/usr.bin/perl/ext/POSIX/t/
H A Dwaitpid.t50 sprintf "%.2f seconds in non-blocking waitpid is too long!\n",
/openbsd-src/regress/sys/kern/signal/sigpthread/
H A DREADME25 It is also possible to avoid blocking the signals and check which

12345