SHARE
TWEET

Untitled

a guest Oct 15th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bool quit = false;
  2.  
  3. playbackThread() {
  4.     while(!quit) {
  5.         //do some stuff
  6.     }
  7. }
  8.  
  9. stopStream() {
  10.     quit = true;
  11.     pj_thread_join(pb_thread); //wait for thread
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top