On 07/04/2016 01:20 AM, Hiemlick Hiemlicker wrote:
I have thread. It locks up. If I changed from a bool val it is using from shared to __gshared it works. I checked the address inside and outside of the thread and they are different for shared and same for __gshared.
[...]
shared bool isPaused = false;
Needs to be static shared. __gshared implies static, shared doesn't.