We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b12e703 commit 3088ac5Copy full SHA for 3088ac5
src/GraphCtrl/GraphPipeline/GPipeline.h
@@ -45,7 +45,7 @@ class GPipeline : public GPipelineObject,
45
* @param policy
46
* @return
47
*/
48
- std::future<CStatus> asyncRun(std::launch policy = std::launch::any);
+ std::future<CStatus> asyncRun(std::launch policy = std::launch::async);
49
50
/**
51
* 异步执行pipeline的全部流程
@@ -54,7 +54,7 @@ class GPipeline : public GPipelineObject,
54
55
56
std::future<CStatus> asyncProcess(CSize runTimes = CGRAPH_DEFAULT_LOOP_TIMES,
57
- std::launch policy = std::launch::any);
+ std::launch policy = std::launch::async);
58
59
60
* 停止执行流程,多用于异步执行流程中
0 commit comments