/* -----------------------------------------------------------------------------
- * $Id: PrimOps.hc,v 1.94 2002/03/02 17:40:24 sof Exp $
+ * $Id: PrimOps.hc,v 1.96 2002/04/23 09:56:29 stolz Exp $
*
* (c) The GHC Team, 1998-2000
*
FE_
}
+FN_(forkProcesszh_fast)
+{
+ pid_t pid;
+
+ FB_
+ /* args: none */
+ /* result: Pid */
+
+ R1.i = RET_STGCALL1(StgInt, forkProcess, CurrentTSO);
+
+ JMP_(ENTRY_CODE(Sp[0]));
+
+ FE_
+}
+
FN_(yieldzh_fast)
{
FB_
FE_
}
-
+FN_(labelThreadzh_fast)
+{
+ FB_
+ /* args: R1.p = Addr# */
+#ifdef DEBUG
+ STGCALL2(labelThread,CurrentTSO,(char *)R1.p);
+#endif
+ JMP_(ENTRY_CODE(Sp[0]));
+ FE_
+}
/* -----------------------------------------------------------------------------