Quantcast
Channel: Visual COBOL
Viewing all articles
Browse latest Browse all 5819

Forum Post: 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 5819

Trending Articles



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