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

Function pSingular_initialize_thread

factory/threadsupport.cc:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14static InitList *inits;
15
16void pSingular_initialize_thread() {
17 InitList *list = inits;
18 while (list) {
19 list->func();
20 list = list->next;
21 }
22}
23
24void pSingular_register_init(void (*f)()) {
25 InitList *next = (InitList *) malloc(sizeof(InitList));

Callers 1

thread_initFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected