From 4361296502ead86488cd37de53535572b409e1d3 Mon Sep 17 00:00:00 2001 From: Alexandra Date: Fri, 29 Nov 2024 11:28:28 +0100 Subject: [PATCH] Update task_scheduler_observer_cls.rst --- .../task_scheduler/task_arena/task_scheduler_observer_cls.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/elements/oneTBB/source/task_scheduler/task_arena/task_scheduler_observer_cls.rst b/source/elements/oneTBB/source/task_scheduler/task_arena/task_scheduler_observer_cls.rst index b4ebda79ff..99af6618b8 100644 --- a/source/elements/oneTBB/source/task_scheduler/task_arena/task_scheduler_observer_cls.rst +++ b/source/elements/oneTBB/source/task_scheduler/task_arena/task_scheduler_observer_cls.rst @@ -33,7 +33,7 @@ Class that represents thread interest in task scheduling services. } // namespace oneapi A ``task_scheduler_observer`` permits clients to observe when a thread starts -and stops processing tasks, either globally or in a certain task scheduler arena. +and stops processing tasks in a certain task scheduler arena. You typically derive your own observer class from ``task_scheduler_observer``, and override virtual methods ``on_scheduler_entry`` or ``on_scheduler_exit``. Observation can be enabled and disabled for an observer instance; it is disabled on creation.