cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: sftp multi thread init question

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 25 Feb 2014 17:46:44 +0100 (CET)

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
Received on 2014-02-25