On Mon Oct 10 14:02:23 2022 +0000, Jinoh Kang wrote:
Are you open to refactoring gdiplus instead so that recursive locks can be eliminated altogether? That way, we can just replace them with SRWLOCKs.
Would that just mean when we currently have a function that locks and calls another function that locks, we make a helper for the inner function that assumes the image is already locked?
If we do recurse with an SRWLOCK, that'll hang, right?
I think it's more work than necessary, but I'd be open to it, yes.