On 13/08/05 Bryan Olson said:

> The seperate thread-or-process trick should work. Start a deamon
> thread to do the gethostbyname, and have the main thread give up
> on the check if the deamon thread doesn't report (via a lock or
> another socket) within, say, 8 seconds.

Wouldn't an alarm be much simpler than a whole thread just for this?

Mike

-- 
Michael P. Soulier <[EMAIL PROTECTED]>
"Those who would give up esential liberty for temporary safety deserve
neither liberty nor safety." --Benjamin Franklin

Attachment: pgp0gNXOorhuD.pgp
Description: PGP signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to