X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fprelude%2Fprimops.txt.pp;fp=ghc%2Fcompiler%2Fprelude%2Fprimops.txt.pp;h=13b4b6c97d351be39ba8369d9b2f6df2baffcdc0;hb=c520a3a2752ffcec5710a88a8a2e219c20edfc8a;hp=ecde8821ebc8a0ec9eac6cf872221fde2afc761a;hpb=5ed93b107550cc10fda7ae187de65da1a4b24d87;p=ghc-hetmet.git diff --git a/ghc/compiler/prelude/primops.txt.pp b/ghc/compiler/prelude/primops.txt.pp index ecde882..13b4b6c 100644 --- a/ghc/compiler/prelude/primops.txt.pp +++ b/ghc/compiler/prelude/primops.txt.pp @@ -1441,6 +1441,13 @@ primop ForkOp "fork#" GenPrimOp has_side_effects = True out_of_line = True +primop ForkOnOp "forkOn#" GenPrimOp + Int# -> a -> State# RealWorld -> (# State# RealWorld, ThreadId# #) + with + usage = { mangle ForkOnOp [mkO, mkP] mkR } + has_side_effects = True + out_of_line = True + primop KillThreadOp "killThread#" GenPrimOp ThreadId# -> a -> State# RealWorld -> State# RealWorld with