cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: regarding thread safety.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 13 May 2011 22:11:00 +0200 (CEST)

On Fri, 13 May 2011, aekam parmar wrote:

> I have read that LibCurl is thread safe but when i configure the package I
> read something like...
>
> checking if _THREAD_SAFE is already defined... no
> checking if _THREAD_SAFE is actually needed... no
> checking if _THREAD_SAFE is onwards defined... no
> checking if _REENTRANT is already defined... no
> checking if _REENTRANT is actually needed... no
> checking if _REENTRANT is onwards defined... no
>
> Does this mean that it is not configured as thread safe

No. It just means that configure figured out that you don't need those defines
when building.

> i need to provide any option for it to be thread safe.?

Nope. Just build and you'll be fine.

> curl version: 7.21.5

You want 7.21.6...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-05-13