summaryrefslogtreecommitdiff
path: root/compiler/prelude
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/prelude')
-rw-r--r--compiler/prelude/primops.txt.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/prelude/primops.txt.pp b/compiler/prelude/primops.txt.pp
index 47a78e2c8d..887411c2a3 100644
--- a/compiler/prelude/primops.txt.pp
+++ b/compiler/prelude/primops.txt.pp
@@ -2892,6 +2892,12 @@ primop IsCurrentThreadBoundOp "isCurrentThreadBound#" GenPrimOp
out_of_line = True
has_side_effects = True
+primop PauseThread "pauseThread#" GenPrimOp
+ ThreadId# -> State# RealWorld -> (# State# RealWorld, MVar# RealWorld () #)
+ with
+ out_of_line = True
+ has_side_effects = True
+
primop NoDuplicateOp "noDuplicate#" GenPrimOp
State# s -> State# s
with