jepst / CloudHaskell

A distributed computing framework for Haskell
http://hackage.haskell.org/package/remote
BSD 3-Clause "New" or "Revised" License
347 stars 22 forks source link

Unknown ProcessDownException in the source code #9

Closed qrilka closed 12 years ago

qrilka commented 12 years ago

Documentation mentions ProcessDownException but I can not find such type in the source code.

BTW Don't you have examples of project linking?

jepst commented 12 years ago

Sorry about the mistake. ProcessDownException was renamed to ProcessMonitorException. Your process will receive ProcessMonitorException when a MaLink-monitored process ends.

What do you mean by "project linking"?

qrilka commented 12 years ago

Oops, sorry. The question was about about project linking - is it possible to construct something like supervisors in Erlang? (Sorry if it's described in your thesis - I want to reading in coming days)

jepst commented 12 years ago

Yes, process linking can be accomplished with the monitorProcess and linkProcess functions. It works very much like the monitor and link BIFs in Erlang. Supervisors can be easily constructed from that.