projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Handle renames from #3310
[ghc-hetmet.git]
/
rts
/
RaiseAsync.h
diff --git
a/rts/RaiseAsync.h
b/rts/RaiseAsync.h
index
3ab96ab
..
52a0aa4
100644
(file)
--- a/
rts/RaiseAsync.h
+++ b/
rts/RaiseAsync.h
@@
-9,6
+9,8
@@
#ifndef RAISEASYNC_H
#define RAISEASYNC_H
#ifndef RAISEASYNC_H
#define RAISEASYNC_H
+#pragma GCC visibility push(hidden)
+
#define THROWTO_SUCCESS 0
#define THROWTO_BLOCKED 1
#define THROWTO_SUCCESS 0
#define THROWTO_BLOCKED 1
@@
-20,12
+22,11
@@
void throwToSingleThreaded (Capability *cap,
void throwToSingleThreaded_ (Capability *cap,
StgTSO *tso,
StgClosure *exception,
void throwToSingleThreaded_ (Capability *cap,
StgTSO *tso,
StgClosure *exception,
- rtsBool stop_at_atomically,
- StgPtr stop_here);
+ rtsBool stop_at_atomically);
void suspendComputation (Capability *cap,
StgTSO *tso,
void suspendComputation (Capability *cap,
StgTSO *tso,
- StgPtr stop_here);
+ StgUpdateFrame *stop_here);
nat throwTo (Capability *cap, // the Capability we hold
StgTSO *source, // the TSO sending the exception
nat throwTo (Capability *cap, // the Capability we hold
StgTSO *source, // the TSO sending the exception
@@
-38,7
+39,7
@@
nat throwTo (Capability *cap, // the Capability we hold
void throwToReleaseTarget (void *tso);
#endif
void throwToReleaseTarget (void *tso);
#endif
-void maybePerformBlockedException (Capability *cap, StgTSO *tso);
+int maybePerformBlockedException (Capability *cap, StgTSO *tso);
void awakenBlockedExceptionQueue (Capability *cap, StgTSO *tso);
/* Determine whether a thread is interruptible (ie. blocked
void awakenBlockedExceptionQueue (Capability *cap, StgTSO *tso);
/* Determine whether a thread is interruptible (ie. blocked
@@
-67,5
+68,7
@@
interruptible(StgTSO *t)
#endif /* CMINUSMINUS */
#endif /* CMINUSMINUS */
+#pragma GCC visibility pop
+
#endif /* RAISEASYNC_H */
#endif /* RAISEASYNC_H */