Update the non-pthreads fallback for RWMutex on Unix
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 31 Oct 2014 17:02:30 +0000 (17:02 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 31 Oct 2014 17:02:30 +0000 (17:02 +0000)
commitc700c4d161f5b6bd9c655f517844ef69998b3290
tree49693328d2a851d69bf91d17ccf2735abdaeacbf
parent07c3753e140c1ee40997fd4cebb931abaf749c99
Update the non-pthreads fallback for RWMutex on Unix

Tested this by #if 0'ing out the pthreads implementation, which
indicated that this fallback was not currently compiling successfully
and applying this patch resolves that.

Patch by Andy Chien.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220969 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Unix/RWMutex.inc