Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3

From: Phillip Susi
Date: Wed Feb 28 2007 - 11:53:32 EST


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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/