Commit 85b05cb2 authored by simonmar's avatar simonmar
Browse files

[project @ 1999-11-02 17:04:28 by simonmar]

make the prototypes of suspendThread and resumeThread available to the RTS.
parent f6692611
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* $Id: StgMacros.h,v 1.14 1999/11/02 15:05:52 simonmar Exp $ * $Id: StgMacros.h,v 1.15 1999/11/02 17:04:28 simonmar Exp $
* *
* (c) The GHC Team, 1998-1999 * (c) The GHC Team, 1998-1999
* *
...@@ -702,6 +702,8 @@ LoadThreadState (void) ...@@ -702,6 +702,8 @@ LoadThreadState (void)
# endif # endif
} }
#endif /* NO_REGS */
/* /*
* Suspending/resuming threads for doing external C-calls (_ccall_GC). * Suspending/resuming threads for doing external C-calls (_ccall_GC).
* These functions are defined in rts/Schedule.c. * These functions are defined in rts/Schedule.c.
...@@ -709,7 +711,5 @@ LoadThreadState (void) ...@@ -709,7 +711,5 @@ LoadThreadState (void)
StgInt suspendThread ( StgRegTable *cap ); StgInt suspendThread ( StgRegTable *cap );
StgRegTable * resumeThread ( StgInt ); StgRegTable * resumeThread ( StgInt );
#endif /* NO_REGS */
#endif /* STGMACROS_H */ #endif /* STGMACROS_H */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment