/ohos5.0/docs/zh-cn/application-dev/napi/ |
H A D | use-call-threadsafe-function-with-priority.md | 2 Node-API中的napi_call_threadsafe_function_with_priority接口的功能是从异步线程向ArkTS线程投递任务,底层队列会根据任务的优先级和入队方式来处理任… 7 napi_status napi_call_threadsafe_function_with_priority(napi_threadsafe_function func, 61 …napi_call_threadsafe_function_with_priority(callbackData->tsfn, nullptr, napi_priority_idle, true); 62 … napi_call_threadsafe_function_with_priority(callbackData->tsfn, nullptr, napi_priority_low, true); 63 …napi_call_threadsafe_function_with_priority(callbackData->tsfn, nullptr, napi_priority_high, true); 64 …napi_call_threadsafe_function_with_priority(callbackData->tsfn, nullptr, napi_priority_immediate, … 66 …napi_call_threadsafe_function_with_priority(callbackData->tsfn, nullptr, napi_priority_high, false…
|
H A D | napi-data-types-interfaces.md | 511 | napi_call_threadsafe_function_with_priority|将指定优先级和入队方式的任务投递到ArkTS主线程。| 614 #### napi_call_threadsafe_function_with_priority subsubsection 617 napi_status napi_call_threadsafe_function_with_priority(napi_threadsafe_function func,
|
H A D | use-napi-about-extension.md | 734 | napi_call_threadsafe_function_with_priority | 将指定优先级和入队方式的任务投递到ArkTS主线程。 | 738 #### napi_call_threadsafe_function_with_priority subsubsection
|
/ohos5.0/docs/en/application-dev/napi/ |
H A D | use-call-threadsafe-function-with-priority.md | 2 You can use **napi_call_threadsafe_function_with_priority** to pass a task to an ArkTS thread from … 7 napi_status napi_call_threadsafe_function_with_priority(napi_threadsafe_function func, 61 …napi_call_threadsafe_function_with_priority(callbackData->tsfn, nullptr, napi_priority_idle, true); 62 … napi_call_threadsafe_function_with_priority(callbackData->tsfn, nullptr, napi_priority_low, true); 63 …napi_call_threadsafe_function_with_priority(callbackData->tsfn, nullptr, napi_priority_high, true); 64 …napi_call_threadsafe_function_with_priority(callbackData->tsfn, nullptr, napi_priority_immediate, … 66 …napi_call_threadsafe_function_with_priority(callbackData->tsfn, nullptr, napi_priority_high, false…
|
H A D | napi-data-types-interfaces.md | 500 | napi_call_threadsafe_function_with_priority|Calls a task with the specified priority and enqueuin… 603 #### napi_call_threadsafe_function_with_priority subsubsection 606 napi_status napi_call_threadsafe_function_with_priority(napi_threadsafe_function func,
|
H A D | use-napi-about-extension.md | 722 | napi_call_threadsafe_function_with_priority | Calls a task with the specified priority and enqueu… 726 #### napi_call_threadsafe_function_with_priority subsubsection
|
/ohos5.0/foundation/arkui/napi/test/unittest/ |
H A D | test_napi_threadsafe.cpp | 598 napi_call_threadsafe_function_with_priority(tsfn, testData, priority, true); in CallThreadSafeFunc() 630 …napi_call_threadsafe_function_with_priority(callbackData->tsfn, testDataA, napi_priority_immediate, in CallThreadSafeWithSamePriorityTest() 634 status = napi_call_threadsafe_function_with_priority(callbackData->tsfn, testDataA, in CallThreadSafeWithSamePriorityTest() 637 status = napi_call_threadsafe_function_with_priority(callbackData->tsfn, testDataB, in CallThreadSafeWithSamePriorityTest() 672 … napi_call_threadsafe_function_with_priority(callbackData->tsfn, nullptr, napi_priority_immediate, in CallThreadSafeWithDiffPriorityTest() 709 … napi_call_threadsafe_function_with_priority(callbackData->tsfn, nullptr, napi_priority_immediate, in CallThreadSafeWithDiffPriorityMultipleThreadTest() 1087 … napi_call_threadsafe_function_with_priority(nullptr, nullptr, napi_priority_immediate, true); 1109 napi_call_threadsafe_function_with_priority(callbackData->tsfn, nullptr,
|
H A D | test_napi.cpp | 6750 …napi_status status = napi_call_threadsafe_function_with_priority(func, nullptr, napi_priority_idle…
|
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/ |
H A D | napi.md | 702 |FUNC|napi_call_threadsafe_function_with_priority|将指定优先级和入队方式的任务投递到ArkTS主线程。|12| 1081 ### napi_call_threadsafe_function_with_priority subsection 1084 napi_status napi_call_threadsafe_function_with_priority(napi_threadsafe_function func,
|
/ohos5.0/foundation/arkui/napi/interfaces/kits/napi/ |
H A D | native_api.h | 117 NAPI_EXTERN napi_status napi_call_threadsafe_function_with_priority(napi_threadsafe_function func,
|
/ohos5.0/docs/en/application-dev/reference/native-lib/ |
H A D | napi.md | 700 |FUNC|napi_call_threadsafe_function_with_priority|Calls a task with the specified priority and enqu… 1079 ### napi_call_threadsafe_function_with_priority subsection 1082 napi_status napi_call_threadsafe_function_with_priority(napi_threadsafe_function func,
|
/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_api.cpp | 4039 NAPI_EXTERN napi_status napi_call_threadsafe_function_with_priority(napi_threadsafe_function func, in napi_call_threadsafe_function_with_priority() function
|