Ge van Geldorp wrote:
From: Joseph Galbraith
Does ReactOS serialize calls to DllMain? I would think if it was, CreateRemoteThread() would block waiting for DLL_THREAD_ATTACH until DLL_PROCESS_DETACH had finished.
No, ReactOS doesn't serialize the calls.
Hope this helps.
It does, thanks! I'm not sure I know exactly how to solve it now, but it gives me something to think about.
GvG
Hi Ge,
I have some loader fixes which handle serialization and fix similar race conditions. If you look on my blog, you can see the timeframe for when I plan to commit them... if you're not going to submit the shutdown code until then, then you can probably consider this issue fixed and work on other problems. Of course, if you prefer, you can write a quick hack if you need this working now :)
Best regards, Alex Ionescu