[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pthreads infection
From: |
Bob Friesenhahn |
Subject: |
Re: pthreads infection |
Date: |
Fri, 18 Dec 2009 17:23:44 -0600 (CST) |
User-agent: |
Alpine 2.01 (GSO 1266 2009-07-14) |
On Fri, 18 Dec 2009, Matěj Týč wrote:
Hello,
if I link to a library that uses pthreads (for example OpenEXR suggests
the -pthreads LDFLAG -- taken from OpenEXR.pc pkg-config file), I can
see that unlike library dependencies this dependency propagates further
like some disease. Even if my product is a library or a module, not only
As I recall, considerable effort was expended to spread this disease.
From reading your text I am a bit confused over exactly what the
problem is, but I gather that you don't want your program to need to
be built as a thread-safe application in order to link with a
(possibly) multi-threaded library. You would rather that
thread-safety be lost in the interest of convenience and expedience.
What exactly is the bug?
Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/