cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Thread-safety and curl_global_init() on SDL OpenGL context.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 6 Dec 2010 08:54:52 +0100 (CET)

On Sun, 5 Dec 2010, Michael Menegakis wrote:

> Is there a chance that curl_global_init() has to be called _before_ an
> OpenGL context creation of SDL?

I can't see how libcurl has anything to do with OpenGL or SDL so I don't see
why they would imply any init order.

> I'm asking because I'm using a single-thread application using cURL,
> however, I notice the debugger still sees some thread creation in the
> beginning which is just SDL's initialization.

libcurl (normally) doesn't create any threads at all. I don't understand your
question really.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-06