File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -143,9 +143,9 @@ struct TaskOptions {
143
143
bool in_place_if_possible;
144
144
};
145
145
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);
149
149
150
150
// Thread-safe and Wait-free.
151
151
// Execute a task with defaut TaskOptions (normal task);
You can’t perform that action at this time.
0 commit comments