File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Control/Distributed/Process/Internal Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ import Control.Distributed.Process.Internal.Closure.BuiltIn
43
43
)
44
44
import Control.Distributed.Process.Internal.Primitives
45
45
( -- Basic messaging
46
- send
46
+ usend
47
47
, expect
48
48
, receiveWait
49
49
, match
@@ -71,7 +71,7 @@ spawn nid proc = do
71
71
receiveWait [
72
72
matchIf (\ (DidSpawn ref _) -> ref == sRef) $ \ (DidSpawn _ pid) -> do
73
73
unmonitor mRef
74
- send pid ()
74
+ usend pid ()
75
75
return pid
76
76
, matchIf (\ (NodeMonitorNotification ref _ _) -> ref == mRef) $ \ _ ->
77
77
return (nullProcessId nid)
@@ -118,7 +118,7 @@ call dict nid proc = do
118
118
cpDelayed us (returnCP sdictUnit () )
119
119
)
120
120
mResult <- receiveWait
121
- [ match $ \ a -> send pid () >> return (Right a)
121
+ [ match $ \ a -> usend pid () >> return (Right a)
122
122
, matchIf (\ (ProcessMonitorNotification ref _ _) -> ref == mRef)
123
123
(\ (ProcessMonitorNotification _ _ reason) -> return (Left reason))
124
124
]
You can’t perform that action at this time.
0 commit comments