git.iko.soy/distributed-process
on master help sign in
Fix receiverPump
commitb4a63267a7b7b5c8474f950fd94d8a0abb942915 authorNicolas Wu <nick@well-typed.com> dateSat 3 Dec 2011, 22:00 (15 years ago) parent112921d
1 file changed+1−1
distributed-process/src/Control/Distributed/Process.hs+1−1
distributed-process/src/Control/Distributed/Process.hs+1−1
@@ -148,8 +148,8 @@ forkProcess node (Process action) = do
148148 receiverPump chan queue = do
149149 msgBlobs <- Trans.receive chan
150150 let (typerep, body) = read (concatMap BS.unpack msgBlobs)
151−-- print ("receiverPump", typerep, body)
152151 enqueue queue (Message typerep body)
152+ receiverPump chan queue
153153
154154send :: (Typeable a, Show a) => ProcessId -> a -> Process ()
155155send (ProcessId chan _ _) msg =