Home
last modified time | relevance | path

Searched refs:task_handle (Results 1 – 25 of 146) sorted by relevance

123456

/dports/devel/onetbb/oneTBB-2021.4.0/doc/main/reference/task_group_extensions/
H A Dtask_handle.rst3 task_handle chapter
36 class task_handle {
38 task_handle();
39 task_handle(task_handle&& src);
41 ~task_handle();
43 task_handle& operator=(task_handle&& src);
60 .. cpp:function:: task_handle()
62 Creates an empty ``task_handle`` object.
64 .. cpp:function:: task_handle(task_handle&& src)
68 .. cpp:function:: ~task_handle()
[all …]
/dports/devel/onetbb/oneTBB-2021.4.0/include/oneapi/tbb/detail/
H A D_task_handle.h34 class task_handle; variable
65 class task_handle {
73 task_handle() = default;
74 task_handle(task_handle&&) = default;
75 task_handle& operator=(task_handle&&) = default;
88 task_handle(task_handle_task* t) : m_handle {t}{}; in task_handle() function
98 static d1::task_group_context& ctx_of(task_handle& th) { in ctx_of()
104 inline bool operator==(task_handle const& th, std::nullptr_t) noexcept {
107 inline bool operator==(std::nullptr_t, task_handle const& th) noexcept {
111 inline bool operator!=(task_handle const& th, std::nullptr_t) noexcept {
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/openmp/libompd/src/
H A Domp-debug.cpp378 if (!task_handle) in ompd_get_task_parallel_handle()
380 if (!task_handle->ah) in ompd_get_task_parallel_handle()
515 if (!task_handle) in ompd_get_generating_task_handle()
517 if (!task_handle->ah) in ompd_get_generating_task_handle()
578 if (!task_handle) in ompd_get_scheduling_task_handle()
580 if (!task_handle->ah) in ompd_get_scheduling_task_handle()
669 if (!task_handle) in ompd_rel_task_handle()
862 if (!task_handle) in ompd_get_task_frame()
864 if (!task_handle->ah) in ompd_get_task_frame()
913 if (!task_handle) in ompd_get_task_function()
[all …]
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/bundled/tbb-2018_U2/include/tbb/
H A Dtask_group.h40 class task_handle : internal::no_assign {
57 task_handle( const F& f ) : my_func(f), my_state(0) {} in task_handle() function
75 task_handle<F>& my_handle;
138 void run( task_handle<F>& h ) { in run()
174 void run( task_handle<F>& h ) { in run()
200 task_group_status run_and_wait( task_handle<F>& h ) { in run_and_wait()
202 return internal_run_and_wait< task_handle<F> >( h ); in run_and_wait()
210 task_group_status run_and_wait ( task_handle<F>& h ) { in run_and_wait()
212 return internal_run_and_wait< task_handle<F> >( h ); in run_and_wait()
234 task_handle<F> make_task( const F& f ) { in make_task()
[all …]
/dports/devel/concurrentqueue/concurrentqueue-1.0.3-15-g0753496/benchmarks/tbb/
H A Dtask_group.h39 class task_handle : internal::no_assign {
56 task_handle( const F& f ) : my_func(f), my_state(0) {} in task_handle() function
71 task_handle<F>& my_handle;
134 void run( task_handle<F>& h ) { in run()
169 void run( task_handle<F>& h ) { in run()
187 task_group_status run_and_wait( task_handle<F>& h ) { in run_and_wait()
189 return internal_run_and_wait< task_handle<F> >( h ); in run_and_wait()
196 task_group_status run_and_wait ( task_handle<F>& h ) { in run_and_wait()
198 return internal_run_and_wait< task_handle<F> >( h ); in run_and_wait()
214 task_handle<F> make_task( const F& f ) { in make_task()
[all …]
/dports/devel/onetbb/oneTBB-2021.4.0/doc/main/reference/
H A Dtask_group_extensions.rst19 - Methods to create and run deferred tasks with ``task_handle``.
46 task_handle defer(F&& f);
48 void run(task_handle&& h);
65 .. cpp:function:: template<typename F> task_handle defer(F&& f)
67 Creates a deferred task to compute ``f()`` and returns ``task_handle`` pointing to it.
70 …``task_group``, thus the ``task_group::wait`` method waits until the ``task_handle`` is either sch…
74 As an optimization hint, ``F`` might return a ``task_handle``, which task object can be executed ne…
79 **Returns:** ``task_handle`` object pointing to task to compute ``f()``.
81 .. cpp:function:: void run(task_handle&& h)
92 As an optimization hint, ``F`` might return a ``task_handle``, which task object can be executed ne…
[all …]
H A Dtask_arena_extensions.rst17 with an overload of ``enqueue`` method accepting ``task_handle``.
40 void enqueue(task_handle&& h);
49 .. cpp:function:: void enqueue(task_handle&& h)
61 * :ref:`task_handle`
/dports/math/stanmath/math-4.2.0/lib/tbb_2020.3/include/tbb/
H A Dtask_group.h45 class task_handle : internal::no_assign {
65 task_handle( const F& f ) : my_func(f), my_state(0) {} in task_handle() function
83 task_handle<F>& my_handle;
162 void run( task_handle<F>& h ) { in run()
198 void run( task_handle<F>& h ) { in run()
224 task_group_status run_and_wait( task_handle<F>& h ) { in run_and_wait()
234 task_group_status run_and_wait ( task_handle<F>& h ) { in run_and_wait()
318 void run( task_handle<F>& h ) { in run()
324 task_group_status run_and_wait ( task_handle<F>& h ) { in run_and_wait()
354 task_handle<F> make_task( const F& f ) { in make_task()
[all …]
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/tbb/include/tbb/
H A Dtask_group.h45 class task_handle : internal::no_assign {
65 task_handle( const F& f ) : my_func(f), my_state(0) {} in task_handle() function
83 task_handle<F>& my_handle;
162 void run( task_handle<F>& h ) { in run()
198 void run( task_handle<F>& h ) { in run()
224 task_group_status run_and_wait( task_handle<F>& h ) { in run_and_wait()
234 task_group_status run_and_wait ( task_handle<F>& h ) { in run_and_wait()
318 void run( task_handle<F>& h ) { in run()
324 task_group_status run_and_wait ( task_handle<F>& h ) { in run_and_wait()
354 task_handle<F> make_task( const F& f ) { in make_task()
[all …]
/dports/devel/tbb/oneTBB-2020.3/include/tbb/
H A Dtask_group.h45 class task_handle : internal::no_assign {
65 task_handle( const F& f ) : my_func(f), my_state(0) {} in task_handle() function
83 task_handle<F>& my_handle;
162 void run( task_handle<F>& h ) { in run()
198 void run( task_handle<F>& h ) { in run()
224 task_group_status run_and_wait( task_handle<F>& h ) { in run_and_wait()
234 task_group_status run_and_wait ( task_handle<F>& h ) { in run_and_wait()
318 void run( task_handle<F>& h ) { in run()
324 task_group_status run_and_wait ( task_handle<F>& h ) { in run_and_wait()
354 task_handle<F> make_task( const F& f ) { in make_task()
[all …]
/dports/audio/zrythm/zrythm-1.0.0-alpha.26.0.13/src/audio/
H A Dwindows_mmcss.c146 HANDLE * task_handle) in windows_mmcss_set_thread_characteristics() argument
153 *task_handle = in windows_mmcss_set_thread_characteristics()
157 if (*task_handle == 0) in windows_mmcss_set_thread_characteristics()
194 HANDLE task_handle) in windows_mmcss_revert_thread_characteristics() argument
200 task_handle) == 0) in windows_mmcss_revert_thread_characteristics()
215 HANDLE task_handle, in windows_mmcss_set_thread_priority() argument
222 task_handle, priority) == 0) in windows_mmcss_set_thread_priority()
/dports/audio/ardour6/Ardour-6.8.0/libs/pbd/
H A Dwindows_mmcss.cc112 set_thread_characteristics (const std::string& task_name, HANDLE* task_handle) in set_thread_characteristics() argument
118 *task_handle = AvSetMmThreadCharacteristicsA(task_name.c_str(), &task_index_dummy); in set_thread_characteristics()
120 if (*task_handle == 0) { in set_thread_characteristics()
149 revert_thread_characteristics (HANDLE task_handle) in revert_thread_characteristics() argument
153 if (AvRevertMmThreadCharacteristics (task_handle) == 0) { in revert_thread_characteristics()
164 set_thread_priority (HANDLE task_handle, AVRT_PRIORITY priority) in set_thread_priority() argument
168 if (AvSetMmThreadPriority (task_handle, priority) == 0) { in set_thread_priority()
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/audio_thread_priority-0.19.1/src/
H A Drt_win.rs13 task_handle: HANDLE field
20 task_handle: 0 as HANDLE in new()
28 let rv = AvRevertMmThreadCharacteristics(rt_priority_handle.task_handle); in demote_current_thread_from_real_time_internal()
46 …handle.task_handle = AvSetMmThreadCharacteristicsA("Audio\0".as_ptr() as _, &mut handle.mmcss_task… in promote_current_thread_to_real_time_internal()
48 if handle.task_handle.is_null() { in promote_current_thread_to_real_time_internal()
/dports/www/firefox/firefox-99.0/third_party/rust/audio_thread_priority/src/
H A Drt_win.rs17 task_handle: HANDLE, field
24 task_handle: 0 as HANDLE, in new()
33 let rv = AvRevertMmThreadCharacteristics(rt_priority_handle.task_handle); in demote_current_thread_from_real_time_internal()
57 handle.task_handle = in promote_current_thread_to_real_time_internal()
60 if handle.task_handle.is_null() { in promote_current_thread_to_real_time_internal()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/audio_thread_priority/src/
H A Drt_win.rs17 task_handle: HANDLE, field
24 task_handle: 0 as HANDLE, in new()
33 let rv = AvRevertMmThreadCharacteristics(rt_priority_handle.task_handle); in demote_current_thread_from_real_time_internal()
57 handle.task_handle = in promote_current_thread_to_real_time_internal()
60 if handle.task_handle.is_null() { in promote_current_thread_to_real_time_internal()
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/audio_thread_priority/src/
H A Drt_win.rs17 task_handle: HANDLE, field
24 task_handle: 0 as HANDLE, in new()
33 let rv = AvRevertMmThreadCharacteristics(rt_priority_handle.task_handle); in demote_current_thread_from_real_time_internal()
57 handle.task_handle = in promote_current_thread_to_real_time_internal()
60 if handle.task_handle.is_null() { in promote_current_thread_to_real_time_internal()
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/audio_thread_priority/src/
H A Drt_win.rs17 task_handle: HANDLE, field
24 task_handle: 0 as HANDLE, in new()
33 let rv = AvRevertMmThreadCharacteristics(rt_priority_handle.task_handle); in demote_current_thread_from_real_time_internal()
57 handle.task_handle = in promote_current_thread_to_real_time_internal()
60 if handle.task_handle.is_null() { in promote_current_thread_to_real_time_internal()
/dports/devel/py-rope/rope-0.18.0/rope/base/
H A Dhistory.py27 def do(self, changes, task_handle=taskhandle.NullTaskHandle()): argument
36 changes.do(change.create_job_set(task_handle, changes))
55 task_handle=taskhandle.NullTaskHandle()): argument
74 self._perform_undos(len(dependencies), task_handle)
80 def redo(self, change=None, task_handle=taskhandle.NullTaskHandle()): argument
96 self._perform_redos(len(dependencies), task_handle)
108 def _perform_undos(self, count, task_handle): argument
112 job_set = change.create_job_set(task_handle,
119 def _perform_redos(self, count, task_handle): argument
123 job_set = change.create_job_set(task_handle,
/dports/audio/exaile/exaile-4.1.1/xl/player/gst/
H A Dsink_windows.py67 obj.task_handle = AvSetMmThreadCharacteristics(
74 task_handle = getattr(obj, 'task_handle', None)
75 if task_handle:
76 AvRevertMmThreadCharacteristics(task_handle)
/dports/devel/sdl12/SDL-1.2.15/src/video/riscos/
H A DSDL_riscostask.c48 static int task_handle = 0; variable
110 task_handle = regs.r[1]; in RISCOS_InitTask()
142 regs.r[0] = task_handle; in RISCOS_ExitTask()
145 task_handle = 0; in RISCOS_ExitTask()
349 return task_handle; in RISCOS_GetTaskHandle()
/dports/devel/py-rope/rope-0.18.0/rope/refactor/
H A Dusefunction.py39 task_handle=taskhandle.NullTaskHandle()): argument
47 for c in self._restructure(newresources, task_handle).changes:
50 for c in self._restructure([self.resource], task_handle,
58 def _restructure(self, resources, task_handle, others=True): argument
72 task_handle=task_handle)
/dports/devel/py-rope/rope-0.18.0/rope/contrib/
H A Dfindit.py11 task_handle=taskhandle.NullTaskHandle()): argument
33 job_set = task_handle.create_jobset('Finding Occurrences',
39 task_handle=taskhandle.NullTaskHandle()): argument
68 job_set = task_handle.create_jobset('Finding Implementations',
/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/_studio/shared/mfx_trace/src/
H A Dmfx_trace_stat.cpp403 const char *task_name, mfxTraceTaskHandle *task_handle, in MFXTraceStat_BeginTask() argument
406 if (!static_handle || !task_handle) return 1; in MFXTraceStat_BeginTask()
423 task_handle->sd1.tick = mfx_trace_get_tick(); in MFXTraceStat_BeginTask()
431 mfxTraceTaskHandle *task_handle) in MFXTraceStat_EndTask() argument
433 if (!static_handle || !task_handle) return 1; in MFXTraceStat_EndTask()
439 time = mfx_trace_get_tick() - task_handle->sd1.tick; in MFXTraceStat_EndTask()
/dports/deskutils/coolreader/coolreader-cr3.2.55/thirdparty_unman/antiword/
H A Dstartup.c47 static task_handle
73 return (task_handle)aiBuffer[0]; in tGetTaskHandle()
85 task_handle tTaskHandle; in main()
/dports/textproc/antiword/antiword-0.37/
H A Dstartup.c47 static task_handle
73 return (task_handle)aiBuffer[0]; in tGetTaskHandle()
85 task_handle tTaskHandle; in main()

123456