Home
last modified time | relevance | path

Searched refs:inDeps (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dconcurrent_adapter.cpp19 int ConcurrentAdapter::ScheduleTask(const TaskAction &action, Dependence inDeps, Dependence outDeps) in ScheduleTask() argument
22 if (inDeps == nullptr && outDeps == nullptr) { in ScheduleTask()
24 } else if (inDeps == nullptr) { in ScheduleTask()
27 ffrt::submit(action, { inDeps }, {}); in ScheduleTask()
29 ffrt::submit(action, { inDeps }, { outDeps }); in ScheduleTask()
37 TaskHandle ConcurrentAdapter::ScheduleTaskH(const TaskAction &action, Dependence inDeps, Dependence… in ScheduleTaskH() argument
40 if (inDeps == nullptr && outDeps == nullptr) { in ScheduleTaskH()
42 } else if (inDeps == nullptr) { in ScheduleTaskH()
45 return ffrt::submit_h(action, { inDeps }, {}); in ScheduleTaskH()
47 return ffrt::submit_h(action, { inDeps }, { outDeps }); in ScheduleTaskH()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Dconcurrent_adapter.h37 static int ScheduleTask(const TaskAction &action, Dependence inDeps = nullptr,
39 static TaskHandle ScheduleTaskH(const TaskAction &action, Dependence inDeps = nullptr,
/ohos5.0/foundation/resourceschedule/ffrt/src/dm/
H A Dsdependence_manager.h51 void MapSignature2Deps(SCPUEUTask* task, const std::vector<const void*>& inDeps,
H A Dsdependence_manager.cpp304 void SDependenceManager::MapSignature2Deps(SCPUEUTask* task, const std::vector<const void*>& inDeps, in MapSignature2Deps() argument
310 for (auto signature : inDeps) { in MapSignature2Deps()
/ohos5.0/foundation/resourceschedule/ffrt/docs/
H A Duser_guide.md3302 【建议3】:尽可能尝试通过 inDeps/outDeps 表达依赖,而不是使用 ffrt::wait()。
3304 这是因为 FFRT 跟踪和处理 inDeps/outDeps 比调用显式 ffrt::wait() 函数更自然、更便宜。
3480 * 程序员通过inDeps/outDeps参数表达任务间依赖关系以保证程序执行的正确性
/ohos5.0/docs/zh-cn/application-dev/ffrt/
H A Dffrt-development-guideline.md2510 * 程序员通过inDeps/outDeps参数表达任务间依赖关系以保证程序执行的正确性。
/ohos5.0/docs/en/application-dev/ffrt/
H A Dffrt-development-guideline.md2516 * Use **inDeps** and **outDeps** to specify the dependency between tasks to ensure the correctness …