aunlu
Computer
- Nov 3, 2003
- 3
I am creating two threads, one is waiting for commands at the command line and the other is checking a UDP socket. Whichever happens first, I want to kill the other thread. For example, if user enters something from the commandline, the other thread waiting for UDP packets should exit.
I am using MS visual studio.
How can I do that?
I am using MS visual studio.
How can I do that?