[mercury-users] another question wrt spawn

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Dec 4 21:36:36 AEDT 2002


On 04-Dec-2002, Pieter Laeremans <pieter.laeremans at student.kuleuven.ac.be> wrote:
> Why is it that spawn/3 is declared to have determinism cc_multi ?

Because the order in which I/O from the spawned thread gets
interleaved with I/O from the main thread is not deterministic.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list