[Am-info] O/S 2 support - slightly off topic (my apologies)
Hans Reiser
reiser@namesys.com
Sun, 17 Mar 2002 00:37:04 +0300
John J. Urbaniak wrote:
>
>"Eric M. Hopper" wrote:
>
>>On Sat, 2002-03-16 at 10:20, Mitch Stone wrote:
>>
>>>On Friday, March 15, 2002, at 11:16 AM, Hans Reiser wrote:
>>>
>>>>Andy Tevanian was the inventor, and he added them to Mach while at CMU.
>>>>
>>>You mean Avie Tevanian, I presume?
>>>
Yes.
>>>
>>Not to get too off-topic, but one of the biggest technical problems I
>>see in Windows is its heavy reliance on threads. In my experience using
>>threads extensively leads to low quality programs that crash or hang
>>constantly for inexplicable reasons. Having to carefully coordinate
>>access to internal program data structures among multiple
>>non-deterministic control flows is very prone to error.
>>
>>I, personally, advocate almost any solution before threads are brought
>>in. They should be last resort for solving a problem. So, I have
>>little love or respect for an OS based on its built in multi-threading
>>support. :-)
>>
>
>Not if the thread-handling is done properly. It isn't in Windows.
>
>John
>
>
>_______________________________________________
>Am-info mailing list
>Am-info@lists.essential.org
>http://lists.essential.org/mailman/listinfo/am-info
>
>
Thread handling is known to be one of the hard programming tasks.
Threads look like they will simplify program structures, but turn out
in practice to be very hard to debug. Solaris does them well, but it
took them years to get it right. They had bugs during their debugging
process that required running the system hard under load for days just
to hit the bug once.....
Hans