[PATCH 2/8] gdi32: Use pthread mutex instead of gdi_section.

Jacek Caban jacek at codeweavers.com
Mon Oct 4 07:35:00 CDT 2021


Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
GDI_CheckNotLock can't be implemented directly on top of pthread, we 
would need to keep track of owning thread ourselves. Since it's used 
only for an assert, I replaced it with comments instead.

  dlls/gdi32/dc.c            | 10 ++---
  dlls/gdi32/dibdrv/dc.c     |  2 +-
  dlls/gdi32/gdiobj.c        | 83 ++++++++++++++++----------------------
  dlls/gdi32/ntgdi_private.h |  1 -
  4 files changed, 40 insertions(+), 56 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-gdi32-Use-pthread-mutex-instead-of-gdi_section.txt
Type: text/x-patch
Size: 11516 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20211004/181936a3/attachment.bin>


More information about the wine-devel mailing list