Re: [5/6] wined3d: Make CreateFakeGLContext thread safe.
4 Dec
2006
4 Dec
'06
7:04 p.m.
Jan Zerebecki <jan.wine(a)zerebecki.de> writes:
This adds thread safety to CreateFakeGLContext and it's corresponding Release function only. This addresses no thread safety in the rest of wined3d, which AFAIk as a whole is still not thread safe. When addressing thread safety in wined3d it must also be taken care that a GL context is not deleted away by a different thread when execution is between these two functions.
You are calling ENTER_GL while holding your crit section, this will deadlock. -- Alexandre Julliard julliard(a)winehq.org
6949
Age (days ago)
6949
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard