Skip to content

Commit

Permalink
Merge pull request #260 from qiaohaijun/patch-1
Browse files Browse the repository at this point in the history
readable
  • Loading branch information
jamesge committed Mar 12, 2018
2 parents 2009890 + 870b0ba commit 06a9cd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/cn/execution_queue.md
Expand Up @@ -143,9 +143,9 @@ struct TaskOptions {
bool in_place_if_possible;
};
const static TaskOptions TASK_OPTIONS_NORMAL = TaskOptions(false, false);
const static TaskOptions TASK_OPTIONS_URGENT = TaskOptions(true, false);
const static TaskOptions TASK_OPTIONS_INPLACE = TaskOptions(false, true);
const static TaskOptions TASK_OPTIONS_NORMAL = TaskOptions(/*high_priority=*/ false, /*in_place_if_possible=*/ false);
const static TaskOptions TASK_OPTIONS_URGENT = TaskOptions(/*high_priority=*/ true, /*in_place_if_possible=*/ false);
const static TaskOptions TASK_OPTIONS_INPLACE = TaskOptions(/*high_priority=*/ false, /*in_place_if_possible=*/ true);
// Thread-safe and Wait-free.
// Execute a task with defaut TaskOptions (normal task);
Expand Down

0 comments on commit 06a9cd5

Please sign in to comment.