Re: wined3d: Make CreateFakeGLContext thread safe. [try 2]
Jan. 3, 2007
7:11 p.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
7021
Age (days ago)
7021
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Shearman