File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
include/hicr/frontends/tasking Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ class Worker
392392 if (_callbackMap != nullptr ) _callbackMap->trigger (this , callback_t ::onWorkerTaskPulled);
393393
394394 // If a task was returned, then start or execute it
395- if (_currentTask != nullptr ) [[likely]]
395+ if (_currentTask != nullptr )
396396 {
397397 // If the task hasn't been initialized yet, we need to do it now
398398 if (_currentTask->getState () == HiCR::ExecutionState::state_t ::uninitialized)
@@ -409,7 +409,7 @@ class Worker
409409 }
410410
411411 // Requesting processing units to terminate as soon as possible
412- if (_state == state_t ::suspending) [[unlikely]]
412+ if (_state == state_t ::suspending)
413413 {
414414 // Setting state as suspended
415415 _state = state_t ::suspended;
@@ -434,7 +434,7 @@ class Worker
434434 }
435435
436436 // Requesting processing units to terminate as soon as possible
437- if (_state == state_t ::terminating) [[unlikely]]
437+ if (_state == state_t ::terminating)
438438 {
439439 // Calling appropriate callback
440440 if (_callbackMap != nullptr ) _callbackMap->trigger (this , callback_t ::onWorkerTerminate);
You can’t perform that action at this time.
0 commit comments