commit | 04fb7c36a9977127f32558dc01c39a9c2388bc39 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Sat Jun 20 00:24:58 2009 +0000 |
committer | Owen Anderson <resistor@mac.com> | Sat Jun 20 00:24:58 2009 +0000 |
tree | ca25bb398da7dc1232611d29ce1d1b301341dfe0 | |
parent | d5fb7906130989a579d1bfe4490b414331e94fee [diff] |
Revert r73790, and replace it with a significantly less ugly solution. Rather than trying to make the global reader-writer lock work, create separate recursive mutexes for each value map. The recursive-ness fixes the double-acquiring issue, which having one per ValueMap lets us continue to maintain some concurrency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73801 91177308-0d34-0410-b5e6-96231b3b80d8