commit | 46d9a6494496d215e850f337b5a723c484212f80 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Tue Jun 23 20:52:29 2009 +0000 |
committer | Owen Anderson <resistor@mac.com> | Tue Jun 23 20:52:29 2009 +0000 |
tree | 0e7bb70cb2e9fac383f1673e8aaf334e215cd59e | |
parent | 223e99cd8d9a0a6a57504589b8593d402c67d38b [diff] |
Make timers threadsafe again. This isn't quite as nice as I'd hoped (it uses locking rather than atomic arithmetic), but should work on all the platforms we care about. I might revisit this if a totally awesome way to do it occurs to me. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74002 91177308-0d34-0410-b5e6-96231b3b80d8