http://bugs.winehq.org/show_bug.cgi?id=27406
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2011-06-07 05:10:22 CDT --- (In reply to comment #2)
Created an attachment (id=35050)
--> (http://bugs.winehq.org/attachment.cgi?id=35050) [details]
Separate mutex for wndproc table operations
I don't see anything there worth protecting with the main wined3d mutex, it's just wndproc table operations, so how about using a separate mutex for wndproc only?
Looks ok in principle, but note that device_process_message() also accesses device->filter_messages and device->focus_window.