Home
last modified time | relevance | path

Searched refs:WaitFlag (Results 1 – 12 of 12) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Dtask.h52 enum class WaitFlag : int { kBlocking, kNonBlocking }; enum
83 Status Join(WaitFlag wf = WaitFlag::kBlocking);
Dtask.cc140 Status Task::Join(WaitFlag blocking) { in Join()
145 if (blocking == WaitFlag::kBlocking) { in Join()
148 } else if (blocking == WaitFlag::kNonBlocking) { in Join()
Dtask_manager.h138 Status join_all(Task::WaitFlag wf = Task::WaitFlag::kBlocking);
Dtask_manager.cc316 Status TaskGroup::join_all(Task::WaitFlag wf) { in join_all()
331 return (join_all(Task::WaitFlag::kNonBlocking)); in DoServiceStop()
DREADME.md70 Status Task::Join(WaitFlag wf = WaitFlag::kBlocking);
76 enum class WaitFlag : int { kBlocking, kNonBlocking };
166 Status TaskGroup::join_all(Task::WaitFlag wf = Task::WaitFlag::kBlocking);
/third_party/mindspore/tests/ut/cpp/dataset/
Dinterrupt_test.cc50 vg_.join_all(Task::WaitFlag::kNonBlocking); in TEST_F()
66 vg_.join_all(Task::WaitFlag::kNonBlocking); in TEST_F()
Dconnector_test.cc170 tg_->join_all(Task::WaitFlag::kNonBlocking); in Run_test_0()
237 tg_->join_all(Task::WaitFlag::kNonBlocking); in Run_test_1()
Dtask_manager_test.cc84 ASSERT_TRUE(vg.join_all(Task::WaitFlag::kNonBlocking).IsOk()); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_grpc_client.cc69 RETURN_IF_NOT_OK(vg_.join_all(Task::WaitFlag::kNonBlocking)); in DoServiceStop()
Dcache_server.cc1037 RETURN_IF_NOT_OK(vg_.join_all(Task::WaitFlag::kBlocking)); in Run()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/perf/
Dcache_pipeline_run.cc245 RETURN_IF_NOT_OK(pTask->Join(Task::WaitFlag::kBlocking)); in RunFirstEpoch()
390 RETURN_IF_NOT_OK(pTask->Join(Task::WaitFlag::kBlocking)); in RunReadEpoch()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/gnn/
Dgraph_loader.cc131 RETURN_IF_NOT_OK(vg.join_all(Task::WaitFlag::kBlocking)); in InitAndLoad()