[omniORB] forking and linking with -lpthread

Christof Meerwald cmeerw@web.de
Sat, 30 Mar 2002 16:39:42 +0100


On Fri, 29 Mar 2002 09:56:33 +0100, Eric Marsden wrote:
[...]
> thanks for your explanation. If the omniThreads library had a dynamic
> dependency on the pthreads library, would that be sufficient
> automatically to pull in pthreads if one links with -lomnithreads?

I have just done some tests on my system and it seems to be sufficient, but
you also have to compile your sources with at least -D_REENTRANT (or better
-pthread) in any case.


bye, Christof

-- 
http://cmeerw.org                                 JID: cmeerw@jabber.at
mailto cmeerw at web.de