[Haskell-cafe] Cloud Haskell, spawn, link and spawnLink

Alexander Alexeev mail at eax.me
Sun Jan 5 15:59:01 UTC 2014


Hi.

Let's consider the following code:

  pid <- spawnLocal ...
  link pid

Is it true, that a parent process will always be terminated when
child process terminates, even if child process will be terminated
between calls of spawnLocal and link? I wrote a test program and it
seems to be so. But I wanted to be sure, that this is not some
coincidence, but a real Cloud Haskell semantics.

Is the same true for monitors?

-- 
Best regards,
Alexander Alexeev
http://eax.me/


More information about the Haskell-Cafe mailing list