Ivan Raikov <[EMAIL PROTECTED]> writes:

> By comparison, if you have two Unix
> processes that exchange messages over a pipe, you can construct the
> state machine that manages the communication so that it is correct by
> design and is invariant of message arrival time. So consider simpler
> designs and do not rely so heavily on threads.

If you have two threads, that communicate passing messages, you
have the same case, only without unnecessary context switches
and other overhead. Some debugging problems are solved either.

Not all of them, of course, since the complexity just moves to
message passing protocol instead of resource usage policy.


-- 
CE3OH...



_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to