Michael K. Edwards wrote:
State machines are much harder to write without going through a real
on-paper design phase first.  But multi-threaded code is much harder
for a team of average working coders to write correctly, judging from
the numerous train wrecks that I've been called in to salvage over the
last ten years or so.

I have to agree; state machines are harder to design and read, but multithreaded programs are harder to write and debug _correctly_.

Another way of putting it is that the threadlet approach is easier to do, but harder to do _right_.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to