tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Issues with libpthreads
On Friday 04 March 2011 11:46:13 Antti Kantee wrote:
> On Fri Mar 04 2011 at 11:37:51 +0100, Peter Bex wrote:
> > On Fri, Mar 04, 2011 at 11:34:44AM +0100, Martin Husemann wrote:
> > > 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.
> >
> > Thanks for both your replies. This is quite a pitfall, though!
>
> I think Nick recently fixed -current so that dlopening libpthread
> explicitly fails instead of causing weird problems.
I did indeed.
Should I request pullups?
Nick
Home |
Main Index |
Thread Index |
Old Index