[llvm-commits] [patch] win32 - fix deadlock on ctrl + c handler when sys::AddSignalHandler is invoked
Török Edwin
edwintorok at gmail.com
Wed Mar 31 05:11:23 PDT 2010
On 03/31/2010 12:07 AM, Gianluigi Tiesi wrote:
> Hi,
>
> signal handling on win32 has a problem,
> the function sys::AddSignalHandler
>
> calls RegisterHandler()
>
> but then does not releases the critical section
> as stated in the function.
>
> So if the program calls the function and the user
> press ctrl c, the program will not able to exit
Thanks, I applied your patch to both LLVM and ClamAV.
Best regards,
--Edwin
More information about the llvm-commits
mailing list