Lines Matching refs:threadData

134     ThreadData_t* threadData = static_cast<ThreadData_t*>(data);
137 auto status = napi_call_threadsafe_function(threadData->tsfn, (void*)&g_threadDataContent2, threadData->isMode);
145 ThreadData_t* threadData = static_cast<ThreadData_t*>(data);
148 auto status = napi_call_threadsafe_function(threadData->tsfn, (void*)&g_threadDataContent3, napi_tsfn_blocking);
154 napi_call_threadsafe_function(threadData->tsfn, (void*)&g_threadDataContent3, napi_tsfn_nonblocking);
6119 ThreadData_t threadData = { .tsfn = tsFunc, .isMode = napi_tsfn_blocking };
6120 if (uv_thread_create(&newChildTid, NewChildThreadMuti, (void*)&threadData) != 0) {
6167 ThreadData_t threadData = { .tsfn = tsFunc, .isMode = napi_tsfn_nonblocking };
6168 if (uv_thread_create(&newChildTid, NewChildThreadMuti, (void*)&threadData) != 0) {
6215 ThreadData_t threadData = { .tsfn = tsFunc, .isMode = napi_tsfn_blocking };
6216 if (uv_thread_create(&newChildTid, NewChildThreadMuti, (void*)&threadData) != 0) {
6264 ThreadData_t threadData = { .tsfn = tsFunc, .isMode = napi_tsfn_nonblocking };
6265 if (uv_thread_create(&newChildTid, NewChildThreadMuti, (void*)&threadData) != 0) {
6313 ThreadData_t threadData = { .tsfn = tsFunc };
6314 if (uv_thread_create(&newChildTid, NonBlockAndBlockNewChildThreadMuti, (void*)&threadData) != 0) {
6369 ThreadData_t threadData = { .tsfn = tsFunc, .isMode = napi_tsfn_nonblocking };
6370 if (uv_thread_create(&newChildTid, NonBlockAndBlockNewChildThreadMuti, (void*)&threadData) != 0) {
6377 if (uv_thread_create(&newChildTid2, NonBlockAndBlockNewChildThreadMuti, (void*)&threadData) != 0) {
6431 OneModeCallData_t threadData = { .tsfn = tsFunc, .mode = napi_tsfn_nonblocking, .callCount = 10 };
6432 if (uv_thread_create(&newChildTid, MutiModeCallOne, (void*)&threadData) != 0) {
6438 if (uv_thread_create(&newChildTid2, MutiModeCallOne, (void*)&threadData) != 0) {
6444 if (uv_thread_create(&newChildTid3, MutiModeCallOne, (void*)&threadData) != 0) {
6451 threadData.mode = napi_tsfn_nonblocking;
6452 threadData.callCount = 10;
6453 OneModeCall(&threadData);
6455 threadData.mode = napi_tsfn_blocking;
6456 OneModeCall(&threadData);
6458 threadData.mode = napi_tsfn_nonblocking;
6459 OneModeCall(&threadData);
6497 OneModeCallData_t threadData = { .tsfn = tsFunc, .mode = napi_tsfn_nonblocking, .callCount = 10 };
6498 if (uv_thread_create(&newChildTid, MutiModeCallTwo, (void*)&threadData) != 0) {
6504 if (uv_thread_create(&newChildTid2, MutiModeCallTwo, (void*)&threadData) != 0) {
6510 if (uv_thread_create(&newChildTid3, MutiModeCallTwo, (void*)&threadData) != 0) {
6517 threadData.mode = napi_tsfn_blocking;
6518 threadData.callCount = 10;
6519 OneModeCall(&threadData);
6521 threadData.mode = napi_tsfn_nonblocking;
6522 OneModeCall(&threadData);
6524 threadData.mode = napi_tsfn_blocking;
6525 OneModeCall(&threadData);
6568 OneModeCallData_t threadData = { .tsfn = tsFunc, .mode = napi_tsfn_nonblocking, .callCount = 10 };
6569 if (uv_thread_create(&newChildTid, MutiModeCallOne, (void*)&threadData) != 0) {
6575 if (uv_thread_create(&newChildTid2, MutiModeCallTwo, (void*)&threadData) != 0) {
6581 if (uv_thread_create(&newChildTid3, MutiModeCallOne, (void*)&threadData) != 0) {
6588 threadData.mode = napi_tsfn_blocking;
6589 threadData.callCount = 10;
6590 OneModeCall(&threadData);
6592 threadData.mode = napi_tsfn_nonblocking;
6593 OneModeCall(&threadData);
6595 threadData.mode = napi_tsfn_blocking;
6596 OneModeCall(&threadData);
6632 OneModeCallData_t threadData = { .tsfn = tsFunc, .mode = napi_tsfn_nonblocking, .callCount = 10 };
6633 if (uv_thread_create(&newChildTid, MutiModeCallThree, (void*)&threadData) != 0) {
6639 if (uv_thread_create(&newChildTid2, MutiModeCallThree, (void*)&threadData) != 0) {
6645 if (uv_thread_create(&newChildTid3, MutiModeCallThree, (void*)&threadData) != 0) {
6652 threadData.mode = napi_tsfn_nonblocking;
6653 threadData.callCount = 30;
6654 OneModeCall(&threadData);
6690 OneModeCallData_t threadData = { .tsfn = tsFunc, .mode = napi_tsfn_nonblocking, .callCount = 10 };
6691 if (uv_thread_create(&newChildTid, MutiModeCallFour, (void*)&threadData) != 0) {
6697 if (uv_thread_create(&newChildTid2, MutiModeCallFour, (void*)&threadData) != 0) {
6703 if (uv_thread_create(&newChildTid3, MutiModeCallFour, (void*)&threadData) != 0) {
6710 threadData.mode = napi_tsfn_blocking;
6711 threadData.callCount = 30;
6712 OneModeCall(&threadData);