Lines Matching defs:mode
162 napi_threadsafe_function_call_mode mode = napi_tsfn_nonblocking;
174 auto status = napi_call_threadsafe_function(callData->tsfn, (void*)&g_threadDataContent4, callData->mode);
183 callData->mode = napi_tsfn_nonblocking;
188 callData->mode = napi_tsfn_blocking;
191 callData->mode = napi_tsfn_nonblocking;
200 callData->mode = napi_tsfn_blocking;
205 callData->mode = napi_tsfn_nonblocking;
208 callData->mode = napi_tsfn_blocking;
217 callData->mode = napi_tsfn_nonblocking;
228 callData->mode = napi_tsfn_blocking;
6094 * calls napi_call_threadsafe_function is called in blocking mode.
6142 * calls napi_call_threadsafe_function is called in nonblocking mode.
6192 * 3.In the test thread, calls the napi_call_threadsafe_function function in blocking mode.
6193 * 4.calls the napi_call_threadsafe_function function in non-blocking mode in the created child thread.
6241 * 3.In the test thread, calls the napi_call_threadsafe_function function in non-blocking mode.
6242 * 4.calls the napi_call_threadsafe_function function in blocking mode in the created child thread.
6431 OneModeCallData_t threadData = { .tsfn = tsFunc, .mode = napi_tsfn_nonblocking, .callCount = 10 };
6451 threadData.mode = napi_tsfn_nonblocking;
6455 threadData.mode = napi_tsfn_blocking;
6458 threadData.mode = napi_tsfn_nonblocking;
6497 OneModeCallData_t threadData = { .tsfn = tsFunc, .mode = napi_tsfn_nonblocking, .callCount = 10 };
6517 threadData.mode = napi_tsfn_blocking;
6521 threadData.mode = napi_tsfn_nonblocking;
6524 threadData.mode = napi_tsfn_blocking;
6568 OneModeCallData_t threadData = { .tsfn = tsFunc, .mode = napi_tsfn_nonblocking, .callCount = 10 };
6588 threadData.mode = napi_tsfn_blocking;
6592 threadData.mode = napi_tsfn_nonblocking;
6595 threadData.mode = napi_tsfn_blocking;
6632 OneModeCallData_t threadData = { .tsfn = tsFunc, .mode = napi_tsfn_nonblocking, .callCount = 10 };
6652 threadData.mode = napi_tsfn_nonblocking;
6690 OneModeCallData_t threadData = { .tsfn = tsFunc, .mode = napi_tsfn_nonblocking, .callCount = 10 };
6710 threadData.mode = napi_tsfn_blocking;
6722 * test napi_call_threadsafe_function none blocking mode with the queue full .
6771 * test napi_call_threadsafe_function blocking mode with the queue full.
6775 * function in blocking mode for 20 times.
7555 * 4.Call napi_release_threadsafe_function when the incoming mode is napi_tsfn_abort
8945 * test napi_call_threadsafe_function none blocking mode with the queue full.
8985 * test napi_call_threadsafe_function none blocking mode with the queue full.
9020 * test napi_call_threadsafe_function none blocking mode with the queue full.
9069 * test napi_call_threadsafe_function none blocking mode with the queue full.
9104 * test napi_call_threadsafe_function none blocking mode with the queue full.
9144 * test napi_call_threadsafe_function none blocking mode with the queue full.
9179 * test napi_call_threadsafe_function none blocking mode with the queue full.