On Friday Mar 31, 2000, Christopher Smith wrote:

> On Fri, Mar 31, 2000 at 08:14:47AM -0500, John Rousseau wrote:
> > On Friday Mar 31, 2000, Natarajan SK wrote:
> > Kevin Hendricks solved a very similar problem for me. This is
> > assuming that you are using native threads. Try linking in -lpthread
> > explicitly on your link line (and make sure you don't have an
> > explicit -lc before it).
> >
> > This is because you may be picking up the non-thread safe versions
> > of libc routines.
> 
> I am confused, I thought all you needed to do use the right routines
> was to use -DREENTRANT.

Unfortunately not. The Blackdown folks are/were considering adding
wrappers to their native threads library (libhpi.so) so that it
would pick up the correct versions. Currently you need to be careful
about your link line.

-John

----------------------------------------------------------------
John Rousseau                               [EMAIL PROTECTED]
SilverStream Software                                           
1 Burlington Woods                        Phone: +1 781 238 5564
Burlington, MA 01803                        Fax: +1 781 238 5499
----------------------------------------------------------------


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to