[1/3] ntdll: Use lockfree implementation for get_cached_fd. (try 2)

Sebastian Lackner sebastian at fds-team.de
Wed Apr 29 22:43:16 CDT 2015

v2: Avoid #ifdefs and simplify code a bit. On PowerPC all interlocked operations will use
interlocked_cmpxchg64, which means that we can implement it using a pthread lock.

 dlls/ntdll/server.c | 105 ++++++++++++++++++++++++++++++++++------------------
 1 file changed, 68 insertions(+), 37 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-Use-lockfree-implementation-for-get_cached_fd.patch
Type: text/x-patch
Size: 7578 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150430/a98ea202/attachment-0001.bin>

More information about the wine-patches mailing list