You could also try something like
while (flag) { Thread.Sleep(100); }
While your Flag is set this loops but with enough time for other Threads to work.
- gismo likes this
![]() |
  | |||||||||||||
![]() |
|
![]() |
||||||||||||
HSven1611Member Since 30 Apr 2015Offline Last Active May 14 2017 01:20 PM | ||||||||||||||
![]() |
||||||||||||||
![]() |
|
![]() |
||||||||||||
![]() |
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ![]() |
||||||||||||
![]() |