You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/elements/oneTBB/source/task_scheduler/scheduling_controls/resumable_tasks.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ Requirements:
23
23
24
24
The ``oneapi::tbb::task::suspend`` function called within a running task suspends execution of the task and switches the thread to participate in other oneTBB parallel work.
25
25
This function accepts a user callable object with the current execution context ``oneapi::tbb::task::suspend_point`` as an argument.
26
+
The user-specified callable object is executed by the calling thread.
26
27
27
28
The ``oneapi::tbb::task::suspend_point`` context tag must be passed to the ``oneapi::tbb::task::resume`` function to trigger a program execution at the suspended point.
28
29
The ``oneapi::tbb::task::resume`` function can be called at any point of an application, even on a separate thread.
0 commit comments