Re: Direct3D thread safety review

2007-05-19 Thread H. Verbeet
On 18/05/07, Stefan Dösinger <[EMAIL PROTECTED]> wrote: * When a method needs locking, the lock is aquired after printing the trace, but before checking error conditions(like windows). * If a method doesn't need locking(e.g. unimplemented, or just a getter for static info(GetCaps), or QI / AddRef

Direct3D thread safety review

2007-05-18 Thread Stefan Dösinger
Hi, After writing some tests for synchronisation in ddraw, I have new versions of my thread safety patches for ddraw. I want to show them for some ideas / comments before sending them in. Basically windows ddraw seems to hold a DLL global lock whenever some code of the DLL is executed even in