| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Multi-threading problem
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 5 Aug 2002 17:07:55 +0200 (MET DST)
On Mon, 5 Aug 2002, Torche Philippe wrote:
> When I run my multi-threading test code (see attached file), I have
... and you are *sure* that the server you connect to has no problems at all
When I try this program (with some minor modifications), I get "couldn't
I can't say I know what could possibly cause a libthread panic though.
Also, I can't understand why the socket() call returns error but I would
$ grep 24 /usr/include/errno.h
Also, my man page for socket() says:
EMFILE The per-process descriptor table is full.
> If I observe 2 errors in 100 threads, I can observe only 98 connections on
Those errors being return code 7? Well then it couldn't connect so there's
> The problem no longer arises if I use a lock mutex before
I realize that, but I can't yet say how or even if curl behaves wrongly.
-- Daniel Stenberg -- curl related mails on curl related mailing lists please ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2002-08-05 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info