projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove old GUM/GranSim code
[ghc-hetmet.git]
/
includes
/
SchedAPI.h
diff --git
a/includes/SchedAPI.h
b/includes/SchedAPI.h
index
8dff6ea
..
b11437b
100644
(file)
--- a/
includes/SchedAPI.h
+++ b/
includes/SchedAPI.h
@@
-10,19
+10,10
@@
#ifndef SCHEDAPI_H
#define SCHEDAPI_H
#ifndef SCHEDAPI_H
#define SCHEDAPI_H
-#if defined(GRAN)
-/* Dummy def for NO_PRI if not in GranSim */
-#define NO_PRI 0
-#endif
-
/*
* Creating threads
*/
/*
* Creating threads
*/
-#if defined(GRAN)
-StgTSO *createThread (Capability *cap, nat stack_size, StgInt pri);
-#else
StgTSO *createThread (Capability *cap, nat stack_size);
StgTSO *createThread (Capability *cap, nat stack_size);
-#endif
Capability *scheduleWaitThread (StgTSO *tso, /*out*/HaskellObj* ret,
Capability *cap);
Capability *scheduleWaitThread (StgTSO *tso, /*out*/HaskellObj* ret,
Capability *cap);