#endif
+#ifdef USE_THREADS
atexit(clear_thread_flags);
+#endif
/************ Infos aus der Environment lesen ************************/
{
#ifdef USE_THREADS
assert(blockInts == 0);
-#endif
intsDisable();
if (currentThread == NULL || currentThread == mainThread)
else
asm_switchstackandcall(CONTEXT(mainThread).usedStackTop, heap_docollect);
intsRestore();
+#else
+ heap_docollect();
+#endif
}
#endif
+#ifdef USE_THREADS
atexit(clear_thread_flags);
+#endif
/************ Infos aus der Environment lesen ************************/