| /oneTBB/src/tbb/ |
| H A D | rml_thread_monitor.h | 123 static void check( int error_code, const char* routine ); 181 inline void thread_monitor::check( int error_code, const char* routine ) { in check() function 192 check(pthread_attr_init( &s ), "pthread_attr_init has failed"); in launch() 194 … check(pthread_attr_setstacksize( &s, stack_size ), "pthread_attr_setstack_size has failed" ); in launch() 214 check( pthread_attr_destroy( &s ), "pthread_attr_destroy has failed" ); in launch() 219 check(pthread_join(handle, nullptr), "pthread_join has failed"); in join() 223 check(pthread_detach(handle), "pthread_detach has failed"); in detach_thread()
|
| H A D | co_context.h | 159 inline void check(int error_code, const char* routine) { in check() function 216 check(pthread_attr_init(&s), "pthread_attr_init has failed"); in create_coroutine() 218 check(pthread_attr_setstacksize(&s, stack_size), "pthread_attr_setstack_size has failed"); in create_coroutine() 220 …check(pthread_create(&c.my_thread, &s, coroutine_thread_func, &data), "pthread_create has failed"); in create_coroutine() 221 check(pthread_attr_destroy(&s), "pthread_attr_destroy has failed"); in create_coroutine() 275 check(pthread_join(c.my_thread, nullptr), "pthread_join has failed"); in destroy_coroutine()
|
| /oneTBB/test/conformance/ |
| H A D | conformance_global_control.cpp | 76 utils::ExactConcurrencyLevel::check(expected_threads); in RunWorkersLimited() 133 utils::ExactConcurrencyLevel::check(expected_threads); in TestAutoInit() 143 utils::ExactConcurrencyLevel::check(max_parallelism-1); in TestAutoInit() 156 utils::ExactConcurrencyLevel::check(1); in operator ()() 159 utils::ExactConcurrencyLevel::check(1); in operator ()() 163 utils::ExactConcurrencyLevel::check(1); in operator ()() 165 utils::ExactConcurrencyLevel::check(2); in operator ()() 170 utils::ExactConcurrencyLevel::check(1); in operator ()() 173 utils::ExactConcurrencyLevel::check(1); in operator ()() 175 utils::ExactConcurrencyLevel::check(1); in operator ()() [all …]
|
| H A D | conformance_flowgraph.h | 245 static bool check = false; in operator() local 246 if(check) { in operator() 247 check = false; in operator() 251 check = true; in operator() 372 static bool check = false; in operator() local 373 if(check) { in operator() 374 check = false; in operator() 378 check = true; in operator() 395 if(check) { in operator() 396 check = false; in operator() [all …]
|
| H A D | conformance_sequencer_node.cpp | 180 …function_node<test_invoke::SmartID<std::size_t>, std::size_t> check(g, serial, [&](const test_invo… in __anona3025c380602() variable 188 make_edge(seq1, check); 202 make_edge(seq2, check);
|
| H A D | conformance_enumerable_thread_specific.cpp | 860 void ets_copy_assign_test( InitSrc init1, InitDst init2, Validator check, const char *allocator_nam… in ets_copy_assign_test() argument 866 check(check_alignment(source.local(),allocator_name)); in ets_copy_assign_test() 871 check(check_alignment(copy.local(existed),allocator_name)); in ets_copy_assign_test() 874 check(check_alignment(copy.local(),allocator_name)); in ets_copy_assign_test() 880 check(check_alignment(assign.local(existed),allocator_name)); in ets_copy_assign_test() 883 check(check_alignment(assign.local(),allocator_name)); in ets_copy_assign_test() 887 check(check_alignment(rvref_binder.local(),allocator_name)); in ets_copy_assign_test() 892 check(check_alignment(moved.local(existed),allocator_name)); in ets_copy_assign_test() 895 check(check_alignment(moved.local(),allocator_name)); in ets_copy_assign_test() 901 check(check_alignment(move_assign.local(existed),allocator_name)); in ets_copy_assign_test() [all …]
|
| H A D | conformance_task_group.cpp | 228 auto check = [&] { in run_cancellation_use_case() local 246 check(); in run_cancellation_use_case()
|
| H A D | conformance_mutex.h | 29 void GeneralTest(const char* mutex_name, bool check = true) { // check flag is needed to disable co… 49 if (check) {
|
| /oneTBB/test/common/ |
| H A D | test_follows_and_precedes_api.h | 49 static void check(tbb::flow::graph& g, 145 static void check(tbb::flow::graph& g, 244 edge_checker_follows<MessageType, NodeType, PredecessorType>::check(g, node, preds, messages); 261 edge_checker_precedes<MessageType, NodeType>::check(g, node, successors, messages);
|
| H A D | concurrent_associative_common.h | 876 check_types.template check</*DefCtorPresent = */true>(arr_int); 883 check_types.template check</*DefCtorPresent = */false>(arr_ref); 890 check_types.template check</*DefCtorPresent = */true>(arr_shr); 895 check_types.template check</*DefCtorPresent = */true>(arr_weak); 902 check_types.template check</*DefCtorPresent = */true>(arr_pairs); 909 check_types.template check</*DefCtorPresent = */true>(arr_strings); 923 check_types.template check</*DefCtorPresent = */true>(arr_int_int_pairs); 930 check_types.template check</*DefCtorPresent = */true>(arr_ref_int_pairs); 937 check_types.template check</*DefCtorPresent = */false>(arr_int_ref_pairs); 945 check_types.template check</*DefCtorPresent = */true>(arr_shared_pairs); [all …]
|
| H A D | concurrency_tracker.h | 141 static void check(size_t concLevel, Mode m = None) {
|
| /oneTBB/test/tbbmalloc/ |
| H A D | test_malloc_whitebox.cpp | 91 void check() const { in check() function in AllocInfo 141 allocs[j].check(); in operator ()() 161 allocs[j].check(); in operator ()() 1030 void check() { in check() function in CacheBinModel 1073 cacheBinModel.check(); in LOCModelTester() 1149 void check() { in check() function in TestCollapsingMallocFree 1188 void check() { in check() function in TestCollapsingBootstrap 1204 scen.check(); in LOCCollapsingTester() 1554 void check(CleanupType type) { in check() function 1591 test.check(HOThresholdTester::NO_CLEANUP); in TestHugeSizeThresholdImpl() [all …]
|
| /oneTBB/examples/graph/dining_philosophers/ |
| H A D | dining_philosophers.cpp | 124 void check(); 188 void philosopher::check() { in check() function in philosopher 324 philosophers[i].check(); in main()
|
| /oneTBB/test/tbb/ |
| H A D | test_parallel_pipeline.cpp | 349 … bool check = pointer_specialized_calls == max_counter && // input filter extra invocation in checkCounters() local 353 … CHECK_MESSAGE(check, "incorrect specialization for firstpointer, p:" << concurrency); in checkCounters() 358 bool check = pointer_specialized_calls == max_counter && in checkCounters() local 362 … CHECK_MESSAGE(check, "incorrect specialization for firstpointer, p:" << concurrency); in checkCounters()
|
| H A D | test_buffer_node.cpp | 82 bool check( T v ) { in check() function 110 my_touches.check( v ); in operator ()() 136 my_touches.check( v ); in operator ()()
|
| H A D | test_sequencer_node.cpp | 98 bool check( int tid, T v ) { in check() function 149 my_touches.check( tid, v ); in operator ()() 180 my_touches.check( tid, v ); in operator ()()
|
| H A D | test_queue_node.cpp | 111 bool check( int tid, T v ) { in check() function 162 my_touches.check( tid, v ); in operator ()() 188 my_touches.check( tid, v ); in operator ()()
|
| H A D | test_async_node.cpp | 84 static void check(const T1 &, const T2 &) { } in check() function 90 static void check(const place_wrapper<T1> &a, const place_wrapper<T2> &b) { in check() function 367 wrapper_helper<output_type, output_type>::check(work.input, output); in process() 436 wrapper_helper<output_type, output_type>::check(input, output); in run()
|
| /oneTBB/doc/ |
| H A D | test_classification.dox | 15 /// check imposibility to call particular interfaces that are not
|
| /oneTBB/src/tbbmalloc_proxy/ |
| H A D | proxy_overload_osx.h | 131 introspect.check = &zone_check; in DoMallocReplacement()
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | always_use_wait_for_all.rst | 41 If you use a flow graph and see mysterious behavior, check first to see
|
| H A D | UpgradeDowngrade.rst | 40 check that the key was not inserted by another writer. The example
|
| H A D | Windows_C_Dynamic_Memory_Interface_Replacement.rst | 77 function to check if the replacement has succeeded and to get additional information.
|
| /oneTBB/doc/main/tbb_userguide/Migration_Guide/ |
| H A D | Mixing_Two_Runtimes.rst | 13 performance penalty due to increased number of context switches. To check if both TBB and
|
| /oneTBB/doc/main/reference/scalable_memory_pools/ |
| H A D | malloc_replacement_log.rst | 37 The ``TBB_malloc_replacement_log`` function allows the program to check if the dynamic memory repla…
|