projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement -fwarn-dodgy-imports
[ghc-hetmet.git]
/
rts
/
Main.c
diff --git
a/rts/Main.c
b/rts/Main.c
index
6aef280
..
745d775
100644
(file)
--- a/
rts/Main.c
+++ b/
rts/Main.c
@@
-12,7
+12,6
@@
#include "Rts.h"
#include "RtsAPI.h"
#include "SchedAPI.h"
#include "Rts.h"
#include "RtsAPI.h"
#include "SchedAPI.h"
-#include "Schedule.h"
#include "RtsFlags.h"
#include "RtsUtils.h"
#include "Prelude.h"
#include "RtsFlags.h"
#include "RtsUtils.h"
#include "Prelude.h"
@@
-102,9
+101,10
@@
int main(int argc, char *argv[])
/* ToDo: want to start with a larger stack size */
{
/* ToDo: want to start with a larger stack size */
{
- void *cap = rts_lock();
+ Capability *cap = rts_lock();
cap = rts_evalLazyIO(cap,(HaskellObj)(void *)mainIO_closure, NULL);
status = rts_getSchedStatus(cap);
cap = rts_evalLazyIO(cap,(HaskellObj)(void *)mainIO_closure, NULL);
status = rts_getSchedStatus(cap);
+ taskTimeStamp(myTask());
rts_unlock(cap);
}
rts_unlock(cap);
}