| 1291 | } |
| 1292 | |
| 1293 | BOOLEAN load_modules(const char *newlib, char *fullname, BOOLEAN autoexport) |
| 1294 | { |
| 1295 | GLOBAL_VAR static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; |
| 1296 | pthread_mutex_lock(&mutex); |
| 1297 | BOOLEAN r = load_modules_aux(newlib, fullname, autoexport); |
| 1298 | pthread_mutex_unlock(&mutex); |
| 1299 | return r; |
| 1300 | } |
| 1301 | #endif /* HAVE_DYNAMIC_LOADING */ |
| 1302 | /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ |
| 1303 | BOOLEAN load_builtin(const char *newlib, BOOLEAN autoexport, SModulFunc_t init) |
no test coverage detected