Thread control in thread pool for sending

T

testisok

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top