User Tools

Site Tools


c:c_threads:event_handling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
c:c_threads:event_handling [2021/03/05 21:14] peterc:c_threads:event_handling [2021/06/09 11:04] (current) peter
Line 7: Line 7:
 ===== Option 1 - Use a boolean global variable ===== ===== Option 1 - Use a boolean global variable =====
  
-threads:+Two threads:
  
-  thread1 performs some actions, then sets a flag. +  thread1 performs some actions, then sets a flag. 
-  thread2 is waiting for this flag to be set.+  thread2 is waiting for this flag to be set.
  
 <code cpp> <code cpp>
c/c_threads/event_handling.1614978862.txt.gz · Last modified: 2021/03/05 21:14 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki