cURL / Mailing Lists / curl-library / Single Mail


RE: Is curl_multi interface thread-safe?

From: Vladimir Grishchenko <>
Date: Thu, 13 Oct 2011 12:40:23 -0700

>Are those curl_multi interface designed as thread-safe, or I have to use my own locking mechanism to protect my multi-handle?

No, it is not safe. You need to have an exclusion mechanism in place that prevents concurrent access. Better yet come up with a solution that does all multi-handle interactions from a single thread.


List admin:
Received on 2011-10-13