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

Re: shared libraries and _REENTRANT



Michael Kerrisk wrote:

> Yes, as far as I've ever known (but my knowledge of requirements on early
> Linux is thin), "cc -pthread" is sufficient, since it is equivalent to
> "cc -lpthread -D_REENTRANT"

But the library uses Boost::Thread. I guess -pthread is not implied
(although libpthread should be linked anyways). 

-- 

  Felipe Sateler



Reply to: