| 342 | } |
| 343 | |
| 344 | private_server::~private_server() { |
| 345 | __TBB_ASSERT( my_net_slack_requests==0, NULL ); |
| 346 | for( size_t i=my_n_thread; i--; ) |
| 347 | my_thread_array[i].~padded_private_worker(); |
| 348 | tbb::cache_aligned_allocator<padded_private_worker>().deallocate( my_thread_array, my_n_thread ); |
| 349 | tbb::internal::poison_pointer( my_thread_array ); |
| 350 | } |
| 351 | |
| 352 | inline bool private_server::try_insert_in_asleep_list( private_worker& t ) { |
| 353 | asleep_list_mutex_type::scoped_lock lock; |
no test coverage detected