Home
last modified time | relevance | path

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

12345678910>>...55

/third_party/rust/rust/tests/ui/feature-gates/
Dfeature-gate-abi-avr-interrupt.rs11 extern "avr-non-blocking-interrupt" fn fu() {} in fu()
12 //~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
14 //~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
18 //~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
19 extern "avr-non-blocking-interrupt" fn mu(); in mu()
20 //~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
23 //~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
24 extern "avr-non-blocking-interrupt" fn dmu() {} in dmu()
25 //~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
31 //~^ ERROR avr-interrupt and avr-non-blocking-interrupt ABIs are experimental
[all …]
Dfeature-gate-abi-avr-interrupt.stderr1 error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to cha…
4 LL | extern "avr-non-blocking-interrupt" fn fu() {}
10 error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to cha…
19 error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to cha…
28 error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to cha…
31 LL | extern "avr-non-blocking-interrupt" fn mu();
37 error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to cha…
46 error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to cha…
49 LL | extern "avr-non-blocking-interrupt" fn dmu() {}
55 error[E0658]: avr-interrupt and avr-non-blocking-interrupt ABIs are experimental and subject to cha…
[all …]
/third_party/ltp/utils/sctp/func_tests/
Dtest_1_to_1_nonblock.c5 * This file has test cases to test the Non-Blocking mode of connect(),
8 * TEST1: Non blocking accept return EAGAIN if connect is not called
9 * TEST2: Non blocking connect should return EINPROGRESS
10 * TEST3: accept() passes when connect called in Non-blocking mode
11 * TEST4: Non blocking recvmsg should return EAGAIN
12 * TEST5: recvmsg() should succeed if data present to receive in non blocking
115 /*Setting server socket non-blocking*/ in main()
126 /* TEST1: accept should return EAGAIN instead blocking. */ in main()
129 tst_brkm(TBROK, tst_exit, "non-blocking accept " in main()
132 tst_resm(TPASS, "non-blocking accept() - EAGAIN"); in main()
[all …]
Dtest_connect.c36 /* This is a kernel test to verify the one-to-many style connect() in blocking
37 * and non-blocking modes.
111 /* Set clt_sk1 as non-blocking. */ in main()
118 /* Do a non-blocking connect from clt_sk1 to svr_sk */ in main()
120 /* Non-blocking connect should return immediately with EINPROGRESS. */ in main()
122 tst_brkm(TBROK, tst_exit, "non-blocking connect error: %d " in main()
125 tst_resm(TPASS, "non-blocking connect"); in main()
166 /* Do a blocking connect from clt_sk2 to svr_sk. in main()
167 * Blocking connect should block until the association is established in main()
192 tst_resm(TPASS, "blocking connect"); in main()
Dtest_connectx.c37 * in blocking and non-blocking modes.
147 /* Set clt_sk1 as non-blocking. */ in main()
154 /* Do a non-blocking connectx from clt_sk1 to svr_sk */ in main()
157 /* Non-blocking connectx should return immediately with EINPROGRESS. */ in main()
159 tst_brkm(TBROK, tst_exit, "non-blocking connectx error: %d " in main()
162 tst_resm(TPASS, "non-blocking connectx"); in main()
211 /* Do a blocking connectx from clt_sk2 to svr_sk. in main()
212 * Blocking connectx should block until the association is established in main()
233 tst_resm(TPASS, "blocking connectx"); in main()
/third_party/musl/libc-test/src/regression/
Dpthread_cancel-sem_wait.c67 /* Cancellation on blocking sem_wait */ in main()
73 TESTR(r, pthread_join(td, &res), "joining canceled thread after blocking sem_wait"); in main()
74 TESTC(res == PTHREAD_CANCELED, "canceled thread exit status after blocking sem_wait"); in main()
75 TESTC(seqno == 1, "blocking sem_wait"); in main()
87 /* Cancellation on blocking sem_timedwait */ in main()
93 TESTR(r, pthread_join(td, &res), "joining canceled thread after blocking sem_timedwait"); in main()
94 TESTC(res == PTHREAD_CANCELED, "canceled thread exit status after blocking sem_timedwait"); in main()
95 TESTC(seqno == 1, "blocking sem_timedwait"); in main()
97 /* Cancellation on blocking __sem_timedwait_time64 */ in main()
103 TESTR(r, pthread_join(td, &res), "joining canceled thread after blocking __sem_timedwait_time64"); in main()
[all …]
/third_party/ltp/runtest/
Dipc6 # using blocking I/O
9 # using non-blocking I/O
13 # using blocking I/O
16 # using non-blocking I/O
19 # using blocking I/O
22 # using blocking I/O
25 # using non-blocking I/O
29 # using non-blocking I/O
/third_party/libcoap/include/coap3/
Dcoap_io_internal.h65 #define COAP_SOCKET_WANT_READ 0x0010 /**< non blocking socket is waiting for reading */
66 #define COAP_SOCKET_WANT_WRITE 0x0020 /**< non blocking socket is waiting for writing */
67 #define COAP_SOCKET_WANT_ACCEPT 0x0040 /**< non blocking server socket is waiting for accept */
68 #define COAP_SOCKET_WANT_CONNECT 0x0080 /**< non blocking client socket is waiting for connect */
69 #define COAP_SOCKET_CAN_READ 0x0100 /**< non blocking socket can now read without blocking */
70 #define COAP_SOCKET_CAN_WRITE 0x0200 /**< non blocking socket can now write without blocking */
71 …define COAP_SOCKET_CAN_ACCEPT 0x0400 /**< non blocking server socket can now accept without blo…
72 …define COAP_SOCKET_CAN_CONNECT 0x0800 /**< non blocking client socket can now connect without bl…
/third_party/openGLES/extensions/SGIX/
DSGIX_async.txt31 1) Asynchronous commands are non-blocking. For example, an
33 immediately rather than blocking until the command completes.
61 completed. This extension provides both blocking and non-blocking
145 * Would it be better to define an extension that provides non-blocking
148 Ans: No. Non-blocking commands would require the GL to preserve
151 between a non-blocking command and all subsequent commands
153 commands until the non-blocking command completes, or maintain
221 Implementations of asynchronous commands may also be non-blocking.
222 For example, a non-blocking query command returns control to the
241 completes, and PollAsyncSGIX, which is non-blocking. Both
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/SGIX/
DSGIX_async.txt31 1) Asynchronous commands are non-blocking. For example, an
33 immediately rather than blocking until the command completes.
61 completed. This extension provides both blocking and non-blocking
145 * Would it be better to define an extension that provides non-blocking
148 Ans: No. Non-blocking commands would require the GL to preserve
151 between a non-blocking command and all subsequent commands
153 commands until the non-blocking command completes, or maintain
221 Implementations of asynchronous commands may also be non-blocking.
222 For example, a non-blocking query command returns control to the
241 completes, and PollAsyncSGIX, which is non-blocking. Both
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/
D18-1.c38 static int blocking; variable
41 printf("FAIL: the case is blocking, exit anyway\n"); in exit_handler()
42 blocking = 1; in exit_handler()
84 /* parent is not blocking on mq_timedreceive, kill child */ in main()
94 if (failure == 1 || blocking == 1) { in main()
106 sleep(TIMEOUT + 3); /* Parent is probably blocking, in main()
D8-1.c35 static int blocking; variable
38 printf("FAIL: the case is blocking, exit anyway\n"); in exit_handler()
39 blocking = 1; in exit_handler()
93 /* Parent is not blocking, let child abort */ in main()
104 if (failure == 1 || blocking == 1) { in main()
115 sleep(TIMEOUT + 3); /* Parent is probably blocking in main()
D18-2.c39 static int blocking; variable
42 printf("FAIL: the case is blocking, exit anyway\n"); in exit_handler()
43 blocking = 1; in exit_handler()
86 /* Parent is not blocking, let child abort */ in main()
96 if (failure == 1 || blocking == 1) { in main()
107 sleep(TIMEOUT + 3); /* Parent is probably blocking in main()
D5-2.c38 static int blocking; variable
41 printf("FAIL: the case is blocking, exit anyway\n"); in exit_handler()
42 blocking = 1; in exit_handler()
85 /* Parent is not blocking, let child abort */ in main()
95 if (failure == 1 || blocking == 1) { in main()
106 sleep(TIMEOUT + 3); /* Parent is probably blocking in main()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DCLCommandQueueImpl.h27 bool blocking,
35 bool blocking,
43 bool blocking,
56 bool blocking,
97 bool blocking,
106 bool blocking,
116 bool blocking,
157 bool blocking,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/
DCLCommandQueueCL.h28 bool blocking,
36 bool blocking,
44 bool blocking,
57 bool blocking,
98 bool blocking,
107 bool blocking,
117 bool blocking,
158 bool blocking,
/third_party/mesa3d/src/asahi/compiler/
Dagx_lower_parallel_copy.c354 /* Split any blocking copies whose sources are only partially in agx_emit_parallel_copies_for_class()
359 struct agx_copy *blocking = &ctx->entries[j]; in agx_emit_parallel_copies_for_class() local
361 if (blocking->done) in agx_emit_parallel_copies_for_class()
364 if (blocking->src.value <= entry->dest && in agx_emit_parallel_copies_for_class()
365 blocking->src.value + 1 >= entry->dest && in agx_emit_parallel_copies_for_class()
366 agx_size_align_16(blocking->src.size) == 2) { in agx_emit_parallel_copies_for_class()
367 split_32bit_copy(ctx, blocking); in agx_emit_parallel_copies_for_class()
372 /* Update sources of blocking copies. in agx_emit_parallel_copies_for_class()
374 * Note: at this point, every blocking copy's source should be in agx_emit_parallel_copies_for_class()
378 struct agx_copy *blocking = &ctx->entries[j]; in agx_emit_parallel_copies_for_class() local
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/runtime/device/
Dmove_to.cc27 const tensor::TensorPtr &dst_tensor, bool blocking) { in MoveToD2H() argument
36 if (blocking && !src_device_ptr->SyncDeviceToHost(dst_tensor->Size(), dst_tensor->data_c())) { in MoveToD2H()
45 const DeviceAddressPtr &dst_device_ptr, bool blocking) { in MoveToH2D() argument
54 if (blocking && !dst_device_ptr->SyncHostToDevice(size, src_data)) { in MoveToH2D()
64 bool blocking, bool *return_self) { in MoveTo() argument
89 if (!MoveToD2H(src_tensor, src_device_ptr, dst_tensor, blocking)) { in MoveTo()
117 MoveToH2D(src_tensor, src_device_ptr, dst_device_ptr, blocking); in MoveTo()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/
DREADME.md49 // Blocking in a task?
186 …thread. Forgetting to unbind will result in the `marl::Scheduler` destructor blocking indefinitely.
188 #### Don't use externally blocking calls in marl tasks
192blocking function on a marl worker thread will prevent that worker thread from being able to switc…
194 Short blocking calls are acceptable, such as a mutex lock to access a data structure. However be ca…
196 If you need to make a blocking call from a marl worker thread, you may wish to use [`marl::blocking…
/third_party/python/Doc/library/
Dasyncio-dev.rst107 blocking code in a different OS thread without blocking the OS thread
114 without blocking the event loop. In addition, asyncio's
121 .. _asyncio-handle-blocking:
123 Running Blocking Code
126 Blocking (CPU-bound) code should not be called directly. For example,
132 a different process to avoid blocking the OS thread with the
152 a separate thread for handling logs or use non-blocking IO. For example,
153 see :ref:`blocking-handlers`.
/third_party/openssl/doc/man3/
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.
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DThreadPool.h48 /// Blocking destructor: the pool will wait for all the threads to complete.
52 /// used to wait for the task to finish and is *non-blocking* on destruction.
61 /// used to wait for the task to finish and is *non-blocking* on destruction.
67 /// Blocking wait for all the threads to complete and the queue to be empty.
68 /// It is an error to try to add new tasks while blocking on this call.
73 /// used to wait for the task to finish and is *non-blocking* on destruction.
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeBlockBuffer.hpp72 int writeToCurrentBlock (int numElements, const T* elements, bool blocking);
73 int readFromCurrentBlock(int numElements, T* elements, bool blocking);
175 int BlockBuffer<T>::writeToCurrentBlock (int numElements, const T* elements, bool blocking) in writeToCurrentBlock() argument
182 if (blocking) in writeToCurrentBlock()
218 int BlockBuffer<T>::readFromCurrentBlock (int numElements, T* elements, bool blocking) in readFromCurrentBlock() argument
225 if (blocking) in readFromCurrentBlock()
281 …int ret = writeToCurrentBlock(numElements-numWritten, elements+numWritten, false /* non-blocking *… in tryWrite()
306 …numWritten += writeToCurrentBlock(numElements-numWritten, elements+numWritten, true /* blocking */… in write()
360 int ret = readFromCurrentBlock(numElements-numRead, &elements[numRead], false /* non-blocking */); in tryRead()
385 numRead += readFromCurrentBlock(numElements-numRead, &elements[numRead], true /* blocking */); in read()
/third_party/selinux/libselinux/man/man3/
Davc_netlink_loop.315 .BI "int avc_netlink_open(int " blocking ");"
44 .I blocking
47 calls this function internally, specifying non-blocking behavior.
75 enters a loop blocking on the netlink socket and processing messages as they
/third_party/musl/libc-test/src/functional/
Dpthread_cancel-points.c104 {1, prepare_sem, execute_sem_wait, cleanup_sem, 0, "blocking sem_wait"},
105 {1, prepare_sem, execute_sem_wait, cleanup_sem, (void*)1, "non-blocking sem_wait"},
106 {1, prepare_sem, execute_sem_timedwait, cleanup_sem, 0, "blocking sem_timedwait"},
107 {1, prepare_sem, execute_sem_timedwait, cleanup_sem, (void*)1, "non-blocking sem_timedwait"},
108 {1, prepare_thread, execute_thread_join, cleanup_thread, 0, "blocking pthread_join"},
109 {1, prepare_thread, execute_thread_join, cleanup_thread, (void*)1, "non-blocking pthread_join"},

12345678910>>...55