[llvm-commits] [PATCH] Improved threading support on Windows

Aaron Ballman aaron at aaronballman.com
Sun Aug 21 09:29:07 PDT 2011


The RWMutex.diff patch removes the FIXME for slim reader-writer locks
on Windows Vista and up, while still falling back on the heavyweight
critical sections implementation for Windows XP.  It was compiled with
Visual Studio 2010 and MinGW.

The Threading.diff patch adds support for a Win32 native thread
implementation of llvm_execute_on_thread.  It was also compiled with
Visual Studio 2010 and MinGW.

Both patches were tested, but threading issues can be tricky to expose
via tests, so additional review is most appreciated.

Thanks!

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RWMutex.diff
Type: application/octet-stream
Size: 4339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110821/0f6b78e5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Threading.diff
Type: application/octet-stream
Size: 1933 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110821/0f6b78e5/attachment-0001.obj>


More information about the llvm-commits mailing list