cURL / Mailing Lists / curl-library / Single Mail


SDL multithreading and cURL deadlock problem

From: Izmael nabudon <>
Date: Sun, 26 Aug 2012 09:23:33 +0200


im having problem with cURL and SDL threads, when i
set CURLOPT_WRITEFUNCTION and in this callback set samaphore to
wait SDL_SemWait(curlSem); (the main thread unlocks this semaphore) program
gets into deadlock, the main thread stops responding and CPU usage moves to

is there some magic i forgot to cast before calling curl_easy_perform?

curl 7.27.0 without ssl, ssh2 and zlib, static link, compiled using gcc

List admin:
Received on 2012-08-26