Robert Shearman R.J.Shearman@warwick.ac.uk writes:
This patch fixes a potential deadlock in LdrLoadDll as it tries to call LdrUnloadDll with the loader lock held, resulting in deadlock once LdrUnloadDll also tries to enter the loader critical section. This only happens on process_attach failure.
This cannot deadlock, a critical section is reentrant. There must be some other issue here.
Alexandre Julliard wrote:
Robert Shearman R.J.Shearman@warwick.ac.uk writes:
This patch fixes a potential deadlock in LdrLoadDll as it tries to call LdrUnloadDll with the loader lock held, resulting in deadlock once LdrUnloadDll also tries to enter the loader critical section. This only happens on process_attach failure.
This cannot deadlock, a critical section is reentrant. There must be some other issue here.
Yes, never mind. Back to Win32 Syncronization Primitives 101 for me.
-- Alexandre Julliard julliard@winehq.com
Rob