ntdll: Mac: Fix leak of send right for Mach thread port.
Ken Thomases
ken at codeweavers.com
Wed Feb 24 00:52:13 CST 2010
The leaked send right kept the port alive for threads that are gone. For
processes which create a lot of threads, this can cause performance problems.
mach_thread_self() increments the reference count of the send right on the
port. Balance that by decrementing it so that there's no net change.
Issue identified by Alexandre Julliard.
---
dlls/ntdll/server.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-Mac-Fix-leak-of-send-right-for-Mach-thread-por.patch
Type: text/x-patch
Size: 392 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100224/ec3bd3de/attachment.bin>
More information about the wine-patches
mailing list