@@ -26,7 +26,6 @@ module Control.Distributed.Process.Internal.Primitives
26 , terminate
26 , terminate
27 , ProcessTerminationException(..)
27 , ProcessTerminationException(..)
29− , ProcessKillException(..)
31 , catchExit
30 , catchExit
32 , ProcessExitException(..)
31 , ProcessExitException(..)
@@ -355,16 +354,6 @@ kill :: ProcessId -> String -> Process ()
355-- 'monitor' or 'link' request.
354-- 'monitor' or 'link' request.
356kill them reason = sendCtrlMsg Nothing (Kill them reason)
355kill them reason = sendCtrlMsg Nothing (Kill them reason)
358−-- | Thrown by 'kill'
359−data ProcessKillException =
360− ProcessKillException !ProcessId !String
363−instance Exception ProcessKillException
364−instance Show ProcessKillException where
365− show (ProcessKillException pid reason) =
366− "killed-by=" ++ show pid ++ ",reason=" ++ reason
368-- | Graceful request to exit a process
357-- | Graceful request to exit a process
369exit :: Serializable a => ProcessId -> a -> Process ()
358exit :: Serializable a => ProcessId -> a -> Process ()
370-- NOTE: We send the message to our local node controller, which will then
359-- NOTE: We send the message to our local node controller, which will then