Skip to content

Commit 06a9cd5

Browse files
authored
Merge pull request apache#260 from qiaohaijun/patch-1
readable
2 parents 2009890 + 870b0ba commit 06a9cd5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/cn/execution_queue.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ struct TaskOptions {
143143
bool in_place_if_possible;
144144
};
145145
146-
const static TaskOptions TASK_OPTIONS_NORMAL = TaskOptions(false, false);
147-
const static TaskOptions TASK_OPTIONS_URGENT = TaskOptions(true, false);
148-
const static TaskOptions TASK_OPTIONS_INPLACE = TaskOptions(false, true);
146+
const static TaskOptions TASK_OPTIONS_NORMAL = TaskOptions(/*high_priority=*/ false, /*in_place_if_possible=*/ false);
147+
const static TaskOptions TASK_OPTIONS_URGENT = TaskOptions(/*high_priority=*/ true, /*in_place_if_possible=*/ false);
148+
const static TaskOptions TASK_OPTIONS_INPLACE = TaskOptions(/*high_priority=*/ false, /*in_place_if_possible=*/ true);
149149
150150
// Thread-safe and Wait-free.
151151
// Execute a task with defaut TaskOptions (normal task);

0 commit comments

Comments
 (0)