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

Alexander Alexeev mail at eax.me
Mon Jan 6 13:36:14 UTC 2014


If someone is interested, I got an answer on this question in Cloud
Haskell mailing list:

https://groups.google.com/forum/#!topic/parallel-haskell/x280cGqJWGo

> 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/
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe


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


More information about the Haskell-Cafe mailing list