Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 33) sorted by relevance

12

/oneTBB/src/tbb/
H A Drml_thread_monitor.h114 static void join(handle_type handle);
117 static void detach_thread(handle_type handle);
157 void thread_monitor::join(handle_type handle) { in join() argument
161 WaitForSingleObjectEx(handle, INFINITE, FALSE); in join()
166 CloseHandle(handle); in join()
170 void thread_monitor::detach_thread(handle_type handle) { in detach_thread() argument
174 CloseHandle(handle); in detach_thread()
198 pthread_t handle; in launch() local
215 return handle; in launch()
218 void thread_monitor::join(handle_type handle) { in join() argument
[all …]
H A Ddynamic_link.cpp36 #define dlsym( handle, name ) GetProcAddress( handle, name ) argument
37 #define dlclose( handle ) ( ! FreeLibrary( handle ) ) argument
194 void add(const dynamic_link_handle &handle) { in add()
197 my_handles[ind] = handle; in add()
217 HMODULE handle; in init_ap_data() local
221 & handle in init_ap_data()
365 void dynamic_unlink( dynamic_link_handle handle ) { in dynamic_unlink() argument
369 if ( handle ) { in dynamic_unlink()
370 dlclose( handle ); in dynamic_unlink()
493 if ( handle )
[all …]
H A Dgovernor.cpp266 void __TBB_EXPORTED_FUNC get(d1::task_scheduler_handle& handle) { in get() argument
270 void release_impl(d1::task_scheduler_handle& handle) { in release_impl() argument
271 if (handle.m_ctl != nullptr) { in release_impl()
272 handle.m_ctl->~global_control(); in release_impl()
273 deallocate_memory(handle.m_ctl); in release_impl()
274 handle.m_ctl = nullptr; in release_impl()
278 bool finalize_impl(d1::task_scheduler_handle& handle) { in finalize_impl() argument
293 if (remove_and_check_if_empty(*handle.m_ctl)) { in finalize_impl()
305 release_impl(handle); in finalize()
308 bool ok = finalize_impl(handle); in finalize()
[all …]
H A Ddynamic_link.h98 dynamic_link_handle* handle = nullptr,
101 void dynamic_unlink( dynamic_link_handle handle );
H A Dprivate_server.cpp229 void private_worker::release_handle(thread_handle handle, bool join) { in release_handle() argument
231 thread_monitor::join(handle); in release_handle()
233 thread_monitor::detach_thread(handle); in release_handle()
/oneTBB/doc/main/reference/
H A Dconcurrent_lru_cache_cls.rst65 class handle {
67 handle();
68 handle( handle&& other );
70 ~handle();
72 handle& operator=( handle&& other );
76 }; // class handle
116 ``handle`` class
121 .. cpp:function:: handle();
127 .. cpp:function:: handle( handle&& other );
135 .. cpp:function:: ~handle();
[all …]
/oneTBB/include/oneapi/tbb/
H A Dglobal_control.h45 void release_impl(d1::task_scheduler_handle& handle);
46 bool finalize_impl(d1::task_scheduler_handle& handle);
153 friend void r1::release_impl(task_scheduler_handle& handle);
154 friend bool r1::finalize_impl(task_scheduler_handle& handle);
165 inline void finalize(task_scheduler_handle& handle) { in finalize() argument
167 if (handle.m_ctl != nullptr) { in finalize()
168 bool finalized = r1::finalize(handle, finalize_throwing); in finalize()
173 __TBB_ASSERT(!handle, "The handle should be empty after finalize"); in finalize()
180 if (handle.m_ctl != nullptr) { in finalize()
181 finalized = r1::finalize(handle, finalize_nothrowing); in finalize()
[all …]
H A Dconcurrent_lru_cache.h63 using handle = handle_object; variable
98 handle operator[](key_type key) {
109 return handle(*this, op.result());
311 static_cast<retrieve_aggregator_operation*>(this)->handle(lru_cache_ref);
313 static_cast<signal_end_of_usage_aggregator_operation*>(this)->handle(lru_cache_ref);
330 void handle(lru_cache_type& lru_cache_ref) {
354 void handle(lru_cache_type& lru_cache_ref) {
/oneTBB/test/conformance/
H A Dconformance_concurrent_lru_cache.cpp82 preset1::handle_type handle; variable
85 handle = cache["handle"];
89 preset1::handle_type handle1(std::move(handle));
91 handle = std::move(handle1);
97 handle,
100 handle = preset1::handle_type();
H A Dconformance_global_control.cpp316 tbb::task_scheduler_handle handle{ tbb::attach{} }; variable
319 bool res = tbb::finalize(handle, std::nothrow); in __anon3ebcafb90102()
328 tbb::task_scheduler_handle handle; variable
330 handle = tbb::task_scheduler_handle{ tbb::attach{} }; in __anon3ebcafb90202()
333 bool res = tbb::finalize(handle, std::nothrow);
343 tbb::task_scheduler_handle handle = tbb::task_scheduler_handle{ tbb::attach{} };
344 bool res = tbb::finalize(handle, std::nothrow);
/oneTBB/test/common/
H A Dtls_limit.h30 typedef DWORD handle; typedef
32 typedef pthread_key_t handle;
36 handle handles[LIMIT];
42 handle h = TlsAlloc(); in LimitTLSKeysTo()
H A Dconcurrent_lru_cache_common.h149 using handle_type = typename cache_type::handle;
163 using handle_type = typename cache_type::handle;
/oneTBB/examples/common/gui/
H A Dmacvideo.cpp150 pthread_t handle; in main_loop() local
153 pthread_create(&handle, &attr, &thread_func, (void *)nullptr); in main_loop()
154 pthread_detach(handle); in main_loop()
/oneTBB/examples/graph/fgbzip2/
H A Dbzlib.cpp1016 FILE* handle; member
1062 bzf->handle = f; in BZ_API()
1096 if (ferror(bzf->handle)) { in BZ_API()
1161 if (ferror(bzf->handle)) { in BZ_API()
1199 if (!abandon && !ferror(bzf->handle)) { in BZ_API()
1200 fflush(bzf->handle); in BZ_API()
1201 if (ferror(bzf->handle)) { in BZ_API()
1250 bzf->handle = f; in BZ_API()
1324 if (ferror(bzf->handle)) { in BZ_API()
1331 if (ferror(bzf->handle)) { in BZ_API()
[all …]
/oneTBB/doc/main/tbb_userguide/
H A DNon-Linear_Pipelines.rst8 It does not directly handle more baroque plumbing, such as in the
44 handle objects that don’t need to be acted upon by the filter other than
H A DFlow_Graph_Message_Passing_Protocol.rst11 state to pull so when the successor is able to handle a message it can
/oneTBB/test/tbb/
H A Dtest_global_control.cpp221 tbb::task_scheduler_handle handle = tbb::task_scheduler_handle{tbb::attach{}};
226 REQUIRE(tbb::finalize(handle, std::nothrow));
H A Dtest_concurrent_lru_cache.cpp144 cache_type::handle h = cache[1];
/oneTBB/python/rml/
H A Dipc_server.cpp83 pthread_t handle; in launch() local
84 if( pthread_create( &handle, &s, thread_routine, arg ) ) return 0; in launch()
86 return handle; in launch()
514 void ipc_worker::release_handle(thread_handle handle, bool join) { in release_handle() argument
516 ipc_thread_monitor::join( handle ); in release_handle()
518 ipc_thread_monitor::detach_thread( handle ); in release_handle()
H A DCMakeLists.txt48 # target_link_libraries may incorrectly handle some options (on Windows, for example).
/oneTBB/src/tbb/tools_api/
H A Dittnotify_config.h284 #define __itt_unload_lib(handle) FreeLibrary(handle) argument
336 #define __itt_unload_lib(handle) dlclose(handle) argument
/oneTBB/doc/GSG/
H A Dintro.rst25 …g a system, which happens when more tasks are assigned to a system than it can handle efficiently.
/oneTBB/doc/main/tbb_userguide/Migration_Guide/
H A DTask_Scheduler_Init.rst153 oneapi::tbb::task_scheduler_handle handle{tbb::attach{}};
156 oneapi::tbb::finalize(handle);
/oneTBB/src/tbbmalloc_proxy/
H A DCMakeLists.txt70 # target_link_libraries may incorrectly handle some options (on Windows, for example).
/oneTBB/src/tbbbind/
H A DCMakeLists.txt70 # target_link_libraries may incorrectly handle some options (on Windows, for example).

12