Date: Thu, 22 May 2003 09:24:13 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: Daniel Eischen <eischen@pcnet1.pcnet.com> Cc: Julian Elischer <julian@elischer.org> Subject: Re: libkse and SMP (was Re: USB bulk read & pthreads) Message-ID: <3ECCF9AD.362453A8@mindspring.com> References: <Pine.GSO.4.10.10305220108490.21066-100000@pcnet1.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Eischen wrote: > All of the ACE tests have been tested with libkse on both > SMP and UP systems. KDE and even mozilla work fine with > libkse (although libkse needs a patch to work around rtld-elf > not being thread-safe for mozilla to work). Note that you should probably always apply this patch, since the dl*() calls are not the only place that programs make invalid assumptions about threads rescheduling following an involuntary context switch: that's just where Mozilla has its main problems in its invalid assumptions about the threads implementation. I've been able to construct two other assumption example cases that cause lockup, even when the program is not dynamic linking anything. Of course, I'm not going to publish these, because if I did, someone would go in and put training wheels in that code, too, instead of fixing the offending threaded program's source code like they should. I'm trying to come up with an example that breaks, even if you spew locking code all over libc; when/if I do that (I'm not spending gobs of time on it), THEN I'll publish the example to prove that spewing the locks won't fix all the logic problems in the programs that use the threaded libraries. -- Terry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ECCF9AD.362453A8>