curl-library
Is the callback specified in CURLOPT_WRITEFUNCTION thread-safe?
From: Ajay Garg <ajaygargnsit_at_gmail.com>
Date: Tue, 1 Jul 2014 21:14:24 +0530
Date: Tue, 1 Jul 2014 21:14:24 +0530
Hi all.
Is it safe to pass the same callback-function as the parameter to
CURLOPT_WRITEFUNCTION in different threads?
Note that the threads may be highly concurrent, sending and receiving
requests/responses simultaneously.
Or we run the risk of mixing up received-data (in different threads)?
Thanks in advance... :)
Thanks and Regards,
Ajay
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-07-01