curl / Mailing Lists / curl-library / Single Mail

curl-library

AW: curl-7.59.0 --disable-pthreads

From: <Alexander.Elgert_at_external.t-systems.com>
Date: Mon, 23 Apr 2018 22:37:51 +0000

I am confused, I wanted to disable pthreads, because the machine does not support it. Somehow I stumbled on the solution by deactivating the threaded-resolver and this deactivated the pthreads.

If --disable-pthreads is a valid option, why doesnt it disable the pthreads? For what is this option good for?

Thank you.

Best regards,

Alexander

=================================================

configure:

  --enable-threaded-resolver
                          Enable threaded resolver
  --disable-threaded-resolver
                          Disable threaded resolver
  --enable-pthreads Enable POSIX threads (default for threaded resolver)
  --disable-pthreads Disable POSIX threads

________________________________
Von: curl-library <curl-library-bounces_at_cool.haxx.se> im Auftrag von Daniel Stenberg <daniel_at_haxx.se>
Gesendet: Freitag, 20. April 2018 16:04:27
An: libcurl development
Betreff: Re: curl-7.59.0 --disable-pthreads

On Fri, 20 Apr 2018, Alexander.Elgert_at_external.t-systems.com wrote:

> the configure option --disable-pthreads in version curl-7.59.0 does not
> work.

That seems correct!

> It was already reported for 7.55: https://github.com/curl/curl/issues/1795

Not quite. That report said --disable-threaded-resolver didn't work, and as
the report states it was fixed within a day and from what I can tell it still
works.

It's actually not really clear to me what --disable-pthreads should do that
--disable-threaded-resolver doesn't already do...

--
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-04-24