#if defined(THREADED_RTS)
initMutex(&sm_mutex);
+ initMutex(&atomic_modify_mutvar_mutex);
#endif
ACQUIRE_SM_LOCK;
exitStorage (void)
{
stat_exit(calcAllocated());
+ freeAllMBlocks();
}
/* -----------------------------------------------------------------------------