@@ -274,7 +274,7 @@ struct arena_base : padded<intrusive_list_node> {
274274 // ! Task pool for the tasks scheduled via tbb::resume() function.
275275 task_stream<front_accessor> my_resume_task_stream; // heavy use in stealing loop
276276
277- #if __TBB_PREVIEW_CRITICAL_TASKS
277+ #if __TBB_CRITICAL_TASKS
278278 // ! Task pool for the tasks with critical property set.
279279 /* * Critical tasks are scheduled for execution ahead of other sources (including local task pool
280280 and even bypassed tasks) unless the thread already executes a critical task in an outer
@@ -423,7 +423,7 @@ class arena: public padded<arena_base>
423423 template <task_stream_accessor_type accessor>
424424 d1::task* get_stream_task (task_stream<accessor>& stream, unsigned & hint);
425425
426- #if __TBB_PREVIEW_CRITICAL_TASKS
426+ #if __TBB_CRITICAL_TASKS
427427 // ! Tries to find a critical task in global critical task stream
428428 d1::task* get_critical_task (unsigned & hint, isolation_type isolation);
429429#endif
@@ -576,7 +576,7 @@ inline d1::task* arena::get_stream_task(task_stream<accessor>& stream, unsigned&
576576 return stream.pop (subsequent_lane_selector (hint));
577577}
578578
579- #if __TBB_PREVIEW_CRITICAL_TASKS
579+ #if __TBB_CRITICAL_TASKS
580580// Retrieves critical task respecting isolation level, if provided. The rule is:
581581// 1) If no outer critical task and no isolation => take any critical task
582582// 2) If working on an outer critical task and no isolation => cannot take any critical task
@@ -593,7 +593,7 @@ inline d1::task* arena::get_critical_task(unsigned& hint, isolation_type isolati
593593 return my_critical_task_stream.pop (preceding_lane_selector (hint));
594594 }
595595}
596- #endif // __TBB_PREVIEW_CRITICAL_TASKS
596+ #endif // __TBB_CRITICAL_TASKS
597597
598598} // namespace r1
599599} // namespace detail
0 commit comments