Searched refs:threading_control (Results 1 – 10 of 10) sorted by relevance
| /oneTBB/src/tbb/ |
| H A D | threading_control.cpp | 200 threading_control* threading_control::get_threading_control(bool is_public) { in get_threading_control() 209 threading_control* threading_control::create_threading_control() { in create_threading_control() 213 threading_control* thr_control{ nullptr }; in create_threading_control() 242 void threading_control::destroy () { in destroy() 285 threading_control::threading_control(unsigned public_ref, unsigned ref) : my_public_ref_count(publi… in threading_control() function in tbb::detail::r1::threading_control 288 threading_control* threading_control::register_public_reference() { in register_public_reference() 289 threading_control* control{nullptr}; in register_public_reference() 320 threading_control::client_snapshot threading_control::prepare_client_destruction(threading_control_… in prepare_client_destruction() 324 bool threading_control::try_destroy_client(threading_control::client_snapshot deleter) { in try_destroy_client() 340 bool threading_control::is_present() { in is_present() [all …]
|
| H A D | threading_control.h | 40 class threading_control; variable 44 threading_control_impl(threading_control*); 79 …static cache_aligned_unique_ptr<thread_dispatcher> make_thread_dispatcher(threading_control& contr… 92 class threading_control { 97 static threading_control* register_public_reference(); 123 threading_control(unsigned public_ref, unsigned ref); 127 static threading_control* get_threading_control(bool is_public); 128 static threading_control* create_threading_control(); 136 static threading_control* g_threading_control;
|
| H A D | main.cpp | 46 threading_control* threading_control::g_threading_control; 47 threading_control::global_mutex_type threading_control::g_threading_control_mutex;
|
| H A D | arena.h | 45 class threading_control; variable 240 threading_control* my_threading_control; 284 …arena(threading_control* control, unsigned max_num_workers, unsigned num_reserved_slots, unsigned … 287 …static arena& allocate_arena(threading_control* control, unsigned num_slots, unsigned num_reserved… 290 …static arena& create(threading_control* control, unsigned num_slots, unsigned num_reserved_slots, …
|
| H A D | thread_dispatcher.h | 41 thread_dispatcher(threading_control& tc, unsigned hard_limit, std::size_t stack_size); 82 threading_control& my_threading_control;
|
| H A D | global_control.cpp | 81 threading_control::set_active_num_workers(my_active_value - 1); in apply_active() 90 const std::size_t workers = threading_control::max_num_workers(); in active_value() 134 threading_control::register_lifetime_control(); in apply_active() 136 threading_control::unregister_lifetime_control(/*blocking_terminate*/ false); in apply_active()
|
| H A D | governor.cpp | 194 threading_control* thr_control = threading_control::register_public_reference(); in init_external_thread() 231 threading_control* thr_control = a->my_threading_control; in auto_terminate() 283 if (threading_control::is_present()) { in finalize_impl() 294 ok = threading_control::unregister_lifetime_control(/*blocking_terminate*/ true); in finalize_impl()
|
| H A D | arena.cpp | 140 threading_control* tc = my_threading_control; in on_thread_leaving() 249 arena::arena(threading_control* control, unsigned num_slots, unsigned num_reserved_slots, unsigned … in arena() 286 arena& arena::allocate_arena(threading_control* control, unsigned num_slots, unsigned num_reserved_… in allocate_arena() 451 arena& arena::create(threading_control* control, unsigned num_slots, unsigned num_reserved_slots, u… in create() 559 threading_control* thr_control = threading_control::register_public_reference(); in initialize() 572 threading_control::unregister_public_reference(/*blocking_terminate=*/false); in terminate() 592 threading_control::register_public_reference(); in attach()
|
| H A D | thread_dispatcher.cpp | 24 thread_dispatcher::thread_dispatcher(threading_control& tc, unsigned hard_limit, std::size_t stack_… in thread_dispatcher()
|
| H A D | CMakeLists.txt | 45 threading_control.cpp
|