tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Issues with libpthreads

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.

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.


Home | Main Index | Thread Index | Old Index