-
Philip Withnall authored
In the Windows destructor list, consistently access `g_private_destructors` using atomic primitives. `g_atomic_pointer_compare_and_exchange()` should be equivalent to `InterlockedCompareExchangePointer()`, but is a bit more understandable in a general GLib context, and pairs with `g_atomic_pointer_get()`. (I can’t find a Windows API equivalent for that.) Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #600
6bd0a4b2