curl-library
Re: Thread-safety and curl_global_init() on SDL OpenGL context.
Date: Mon, 6 Dec 2010 15:26:50 +0200
from SDL list:
>> I suspect they are being overly paranoid, while being strictly
>> correct. I cannot imagine that SDL would interfere with curl's
>> initialisation routine.
>
>
> Well, if they both use for instance inet_ntoa(), strtok() or localtime(), just to show three standard library function whose evilness in multithread programs is well known, they could interfere each other.
>
> If curl documentation states a similar warning it's obviously because it is calling one or more of these multithread unsafe apis.
>
> I ignore why they did not fix the problem since there is always a thread-safe variant for those.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-06