Directly, you can't. But you can instruct it through channel to break/return/quit your other thread.
Just message it to quit and put the logic when receiving the message that your thread is to quit.
Directly, you can't. But you can instruct it through channel to break/return/quit your other thread.
Just message it to quit and put the logic when receiving the message that your thread is to quit.