9 Nov
2023
9 Nov
'23
1:30 p.m.
Would you prefer using InterlockedIncrement in AddRef instead of using the CS lock?
Yes, it's good practice to always use interlocked functions for COM refcounts. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4002#note_51698