"Erich E. Hoover" ehoover@mines.edu writes:
On Thu, Apr 5, 2012 at 6:37 AM, Alexandre Julliard julliard@winehq.org wrote:
"Erich E. Hoover" ehoover@mines.edu writes:
Description: Free the section header memory outside of the uninterrupted section lock. Changing the order here stops the process heap from potentially deadlocking (Bug #30356).
The allocation will still be an issue. I think a better approach would be to avoid any memory allocation in there.
Do you want the uninterrupted section broken up into two parts or is there something else you had in mind?
Just use a fixed-size buffer on the stack or something along those lines.