On Mon, 24 Feb 2014, ?????? wrote:

ok, I modify my code and add sleep(1) after create threads . Now all of the threads init successfully. It does not return 2. It seems that if init too many at one time , it will init fail.

That doesn't make much sense to me, but it makes things work for you...

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to