curl-library
Threads and init and cleanup
Date: Wed, 21 May 2003 20:15:37 -0700
Hello,
I am just starting to use libcurl and have one question about threads.
If I am using curl_easy_perform() in a thread do I need to call
curl_easy_init() and curl_easy_cleanup() each time a thread is created? Or
can the application initialize and cleanup and the threads share the
returned CURL pointer.
So, far everything is quite simple and seems to work quite well. After
having written this same code on 3 unique platforms and with 5 different
API's. libcurl is the easiest to implement.
Thanks,
Matt
Tribeworks
-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
Received on 2003-05-22