RE: deadlock?

Hi,

it looks to me that the DNS manager needs a socket. The connection cannot be
established before the DNS manager is done. Thus, it might happen that they
wait for each other. The only thing that is a bit strange with that is that
the socket API does in principle not need a socket to query the DNS service.

Regards,

Jens




-----Original Message-----
From: Fengyun Cao [mailto:fcao@CS.Princeton.EDU]
Sent: Sonntag, 22. April 2001 10:23
To: www-lib@w3.org
Subject: deadlock?


Hi All,
	The library allows no more than n-2 simultaneous persistent
sockets open, where n is the number of all sockets open at that time, to
avoid "deadlock". Could anybody tell me why there'll be a deadlock ?


Thanks,

Fengyun

Received on Friday, 27 April 2001 23:11:40 UTC