| 329 | } |
| 330 | |
| 331 | static void init_dl_data() { |
| 332 | init_ap_data(); |
| 333 | #if !__USE_TBB_ATOMICS |
| 334 | int res; |
| 335 | res = pthread_spin_init( &handles.my_lock, PTHREAD_PROCESS_SHARED ); |
| 336 | LIBRARY_ASSERT( res==0, "pthread_spin_init failed" ); |
| 337 | #endif |
| 338 | } |
| 339 | |
| 340 | // ap_data structure is initialized with current directory on Linux. |
| 341 | // So it should be initialized as soon as possible since the current directory may be changed. |
nothing calls this directly
no test coverage detected