projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2000-11-01 11:41:47 by simonmar]
[ghc-hetmet.git]
/
ghc
/
rts
/
RtsStartup.c
diff --git
a/ghc/rts/RtsStartup.c
b/ghc/rts/RtsStartup.c
index
f992f1b
..
705f72a
100644
(file)
--- a/
ghc/rts/RtsStartup.c
+++ b/
ghc/rts/RtsStartup.c
@@
-1,5
+1,5
@@
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: RtsStartup.c,v 1.43 2000/10/06 15:35:47 simonmar Exp $
+ * $Id: RtsStartup.c,v 1.44 2000/11/01 11:41:47 simonmar Exp $
*
* (c) The GHC Team, 1998-2000
*
*
* (c) The GHC Team, 1998-2000
*
@@
-28,6
+28,10
@@
#include "Linker.h"
#endif
#include "Linker.h"
#endif
+#if defined(RTS_GTK_FRONTPANEL)
+#include "FrontPanel.h"
+#endif
+
#if defined(PROFILING) || defined(DEBUG)
# include "Profiling.h"
# include "ProfHeap.h"
#if defined(PROFILING) || defined(DEBUG)
# include "Profiling.h"
# include "ProfHeap.h"
@@
-196,6
+200,12
@@
startupHaskell(int argc, char *argv[], void *init_root)
fixupRTStoPreludeRefs(NULL);
#endif
fixupRTStoPreludeRefs(NULL);
#endif
+#ifdef RTS_GTK_FRONTPANEL
+ if (RtsFlags.GcFlags.frontpanel) {
+ initFrontPanel();
+ }
+#endif
+
/* Record initialization times */
end_init();
}
/* Record initialization times */
end_init();
}
@@
-313,6
+323,12
@@
shutdownHaskell(void)
*/
exitStorage();
*/
exitStorage();
+#ifdef RTS_GTK_FRONTPANEL
+ if (RtsFlags.GcFlags.frontpanel) {
+ stopFrontPanel();
+ }
+#endif
+
#if defined(PROFILING) || defined(DEBUG)
endProfiling();
#endif
#if defined(PROFILING) || defined(DEBUG)
endProfiling();
#endif