[PATCH 2/2] imm32: Lazily allocated thread-local data.

Rob Shearman robertshearman at gmail.com
Tue Feb 24 08:52:57 CST 2009


---
 dlls/imm32/imm.c |   25 ++++++++++---------------
 1 files changed, 10 insertions(+), 15 deletions(-)

Fixes a potential scalability issue when having imm32 loaded and lots
of threads, but none of them using imm32 functions. Also solves the
potential problem of creating a thread, then loading imm32 and then
having that thread call an imm32 function but crash because
DLL_THREAD_ATTACH wasn't called for that thread to create the
thread-local data.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4b6fd0313c59c4332aa63dd639b3b6c671234f14.diff
Type: text/x-patch
Size: 1488 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090224/6011f7e9/attachment.bin 


More information about the wine-patches mailing list