Re: [5/6] wined3d: Make CreateFakeGLContext thread safe.

2006-12-04 Thread Alexandre Julliard
Jan Zerebecki <[EMAIL PROTECTED]> 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 >

Re: [5/6] wined3d: Make CreateFakeGLContext thread safe.

2006-11-22 Thread Jan Zerebecki
On Tue, Nov 21, 2006 at 07:10:30PM +0800, Dmitry Timoshkov wrote: > You could avoid a call to LeaveCriticalSection by moving > EnterCriticalSection > after the wined3d_fake_gl_context_available check. This would make this sequence of events (perhaps only in theory) possible: release wined3d_fak