Then instead of notifying the thread via a global variable, notify it by sending something to its socket or just close (or shutdown) its socket.
- tye
In reply to Re: Shutdown a thread that is using a blocking socket (horse's ear)
by tye
in thread Shutdown a thread that is using a blocking socket
by chrism01
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |