Re: wined3d: Make CreateFakeGLContext thread safe. [try 2]
4 Jan
2007
4 Jan
'07
1:11 a.m.
Jan Zerebecki wrote:
+ LeaveCriticalSection(&wined3d_fake_gl_context_cs); + LEAVE_GL();
...
LEAVE_GL(); + LeaveCriticalSection(&wined3d_fake_gl_context_cs); return FALSE; }
You can't lock or unlock in different orders as this will create subtle races that could result in deadlocks. -- Rob Shearman
6921
Age (days ago)
6921
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Shearman