Changeset 640b3df for libcfa/src/interpose_thread.cfa
- Timestamp:
- Feb 21, 2023, 4:24:34 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 257a8f5, ce44c5f
- Parents:
- 1180175 (diff), 9a533ba (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/interpose_thread.cfa
r1180175 r640b3df 39 39 const char version[] 40 40 ) libcfa_public { 41 const char * error;42 43 41 static void * library; 44 42 if ( ! library ) { 45 #if defined( RTLD_NEXT ) 46 library = RTLD_NEXT; 47 #else 48 // missing RTLD_NEXT => must hard-code library name, assuming libstdc++ 49 library = dlopen( "libpthread.so", RTLD_LAZY ); 50 error = dlerror(); 51 if ( error ) { 52 abort( "interpose_symbol : failed to open libpthread, %s\n", error ); 53 } 54 #endif 43 library = dlopen( "libpthread.so", RTLD_LAZY ); 44 const char * error = dlerror(); 45 if ( error ) { 46 abort( "interpose_symbol : failed to open libpthread, %s\n", error ); 47 } 55 48 } // if 56 49
Note:
See TracChangeset
for help on using the changeset viewer.