commit | b2164e5cb5086f0595e96fdbb5ffc614dea9c441 | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Tue Jul 12 15:37:43 2005 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Tue Jul 12 15:37:43 2005 +0000 |
tree | 1d75378c4ce6365fcaf202243766c4b400b809bd | |
parent | 22177fe580ef2e32cb2392408a00d8b6dfcaba6c [diff] |
For PR540: Add a Mutex class for thread synchronization in a platform-independent way. The current implementation only supports pthreads. Win32 use of Critical Sections will be added later. The design permits other threading models to be used if (and only if) pthreads is not available. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22403 91177308-0d34-0410-b5e6-96231b3b80d8