MCPcopy Create free account
hub / github.com/Singular/Singular / load_modules

Function load_modules

Singular/iplib.cc:1293–1300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1291}
1292
1293BOOLEAN 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/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
1303BOOLEAN load_builtin(const char *newlib, BOOLEAN autoexport, SModulFunc_t init)

Callers 2

jjLOADFunction · 0.85
iiTryLoadLibFunction · 0.85

Calls 1

load_modules_auxFunction · 0.85

Tested by

no test coverage detected