Closed Diggsey closed 2 years ago
https://github.com/gabdube/native-windows-gui/search?q=%22static+mut%22
When accessing a static mut programs must ensure that access can only come from a single thread.
static mut
In this case, it should be relatively easy to replace all static mut uses with atomics.
yeah, that was just lazy of me. That will be fixed before the new release.
Fixed in my latest commit
https://github.com/gabdube/native-windows-gui/search?q=%22static+mut%22
When accessing a
static mut
programs must ensure that access can only come from a single thread.In this case, it should be relatively easy to replace all
static mut
uses with atomics.