[project @ 2005-03-02 11:06:58 by simonmar]
[ghc-hetmet.git] / ghc / rts / Capability.h
index eea28ef..e615035 100644 (file)
 #ifndef __CAPABILITY_H__
 #define __CAPABILITY_H__
 
-#if !defined(SMP)
-extern Capability MainCapability;
-#endif
-
 // Initialised the available capabilities.
 //
 extern void initCapabilities( void );
@@ -35,6 +31,10 @@ extern void initCapabilities( void );
 //
 extern void releaseCapability( Capability* cap );
 
+// Signal that a thread has become runnable
+//
+extern void threadRunnable ( void );
+
 #ifdef RTS_SUPPORTS_THREADS
 // Gives up the current capability IFF there is a higher-priority
 // thread waiting for it.  This happens in one of two ways: