tech-userlevel archive

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

Re: Moving pthread_(cond|mutex) to libc

On Fri, Jan 25, 2013 at 03:37:19AM +0100, Emmanuel Dreyfus wrote:
> Thor Lancelot Simon <> wrote:
> > Don't try to dynamically load threaded code into single threaded
> > programs.  Problem fixed.
> I do not. The problem (see the thread in tech-pkg) is that I have a
> program that uses thread-unrelated stuff in, and
> contains thread-related stuff I do not use, which
> cause it to be linked with -lpthread.

This is either a bug in libgobject (it should be separated into two
libraries) or a bug in the application (it cannot link to a library that
uses threads unless it is compiled with -pthread).


Home | Main Index | Thread Index | Old Index