Fix Potential Deadlock in LdrLoadDll

Alexandre Julliard julliard at winehq.org
Wed Feb 11 18:55:41 CST 2004


Robert Shearman <R.J.Shearman at 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
julliard at winehq.com



More information about the wine-devel mailing list