Thread control in thread pool for sending

testisok testisok at gmail.com
Tue Feb 17 02:34:29 EST 2009


Hi, all:

     Here is a thread pool for sending as a client, all blocked at
Semaphore.
     How can I choose these threads that is idle for some time and
then send heartbeat messages to the server thru sockets of these
threads?

Thanks in advance.
Best wishes



More information about the Python-list mailing list