[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Re: An alternative thread system?

From: Aleksej Saushev
Subject: [Chicken-users] Re: An alternative thread system?
Date: Mon, 11 Aug 2008 07:57:18 +0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix)

Ivan Raikov <address@hidden> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]