Hide b_attached.
Also remove the volatile qualifier. No, volatile does not magically solve threading bugs, sorry I too have tried this "easy" path, it does REALLY NOT WORK. volatile only solves signals concurrency, not threads concurrency.
Showing
Please register or sign in to comment