projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct the Cabal version number and remove features.
[ghc-hetmet.git]
/
rts
/
Schedule.c
diff --git
a/rts/Schedule.c
b/rts/Schedule.c
index
b9b4325
..
585ddec
100644
(file)
--- a/
rts/Schedule.c
+++ b/
rts/Schedule.c
@@
-2509,9
+2509,6
@@
initScheduler(void)
context_switch = 0;
sched_state = SCHED_RUNNING;
context_switch = 0;
sched_state = SCHED_RUNNING;
- RtsFlags.ConcFlags.ctxtSwitchTicks =
- RtsFlags.ConcFlags.ctxtSwitchTime / TICK_MILLISECS;
-
#if defined(THREADED_RTS)
/* Initialise the mutex and condition variables used by
* the scheduler. */
#if defined(THREADED_RTS)
/* Initialise the mutex and condition variables used by
* the scheduler. */
@@
-2584,6
+2581,7
@@
exitScheduler( void )
boundTaskExiting(task);
stopTaskManager();
}
boundTaskExiting(task);
stopTaskManager();
}
+ closeMutex(&sched_mutex);
#endif
}
#endif
}