tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Issues with libpthreads
Martin Husemann <martin%duskware.de@localhost> writes:
> On Fri, Mar 04, 2011 at 09:59:30AM +0100, Peter Bex wrote:
>> Is mixing and matching pthreads-using libraries with non-pthreads-using
>> libraries really impossible?
>
> [Ignoring minor details for brevity]
> A process is either threaded or not threaded. You can not use libc for five
> mintues in non-threaded mode, then load a shared library wich requires
> threading and start creating threads.
>
> This is not a bug.
It is, in my opinion.
> As Antti said, there are several solutions for your problem. The most
> simple way is to link the application (in your case the interpreter)
> against libpthread.
pthread(3) doesn't mention it in caveats. Peter is the third person
I know (besides myself) who runs into this problem within the recent month.
--
HE CE3OH...
Home |
Main Index |
Thread Index |
Old Index