Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

RE: Killing a thread

$
0
0

Most thread communication can be handled using one of the synchronization primitives like a mutex, event, semaphore, monitor, etc.

You could also set a flag variable in the main thread in shared storage that the thread could then check to see if it should exit or not.


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>