cURL / Mailing Lists / curl-library / Single Mail


Re: how to know that CURL is thread enabled or disabled

From: Daniel Stenberg <>
Date: Mon, 28 Apr 2008 16:35:19 +0200 (CEST)

On Mon, 28 Apr 2008, Anil Kumar wrote:

>>> libcurl is thread-safe on all modern operating
>>> systems and I believe we can count AIX to one of them.

> I take this thing that by default curl is being compiled with support of
> multithreading.

Yes, in the sense that it checks for and uses thread-safe versions of common
libc functions.

> But at the same time through thread disable flag in configure file one can
> compile curl without multihthreading support.

Yes, you can disable the check for those funtions.

> so plz tell me any command/options through which ,it can be confirmed the
> threading status of CURL.

There is no such option. You can however review lib/config.h after configure
is run and make sure it looks correct.

  Commercial curl and libcurl Technical Support:
Received on 2008-04-28