| 
							
							
								 Owen Anderson | a9d1f2c559 | Have scoped mutexes take referenes instead of pointers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74931 91177308-0d34-0410-b5e6-96231b3b80d8 | 2009-07-07 18:33:04 +00:00 |  | 
			
				
					| 
							
							
								 Owen Anderson | cc40f077b0 | Add debugging code to test for various locking faux-pas's, when running in single threaded mode.  This should help improve testing coverage for threading support, without having extensive actually concurrent clients yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73803 91177308-0d34-0410-b5e6-96231b3b80d8 | 2009-06-20 00:27:21 +00:00 |  | 
			
				
					| 
							
							
								 Owen Anderson | 4f10c3b4dc | Fix weird class-size-being-different problems.  At some level this is being caused by config.h not being included everywhere.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73745 91177308-0d34-0410-b5e6-96231b3b80d8 | 2009-06-19 00:48:22 +00:00 |  | 
			
				
					| 
							
							
								 Owen Anderson | b65e9ed106 | Give RWMutex the SmartRWMutex treatment too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73710 91177308-0d34-0410-b5e6-96231b3b80d8 | 2009-06-18 18:26:15 +00:00 |  | 
			
				
					| 
							
							
								 Owen Anderson | bf5ec1b9db | Reapply r73647 in a non-broken form. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73662 91177308-0d34-0410-b5e6-96231b3b80d8 | 2009-06-17 23:49:06 +00:00 |  | 
			
				
					| 
							
							
								 Owen Anderson | b983d67465 | Protect the GC table in Function.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73647 91177308-0d34-0410-b5e6-96231b3b80d8 | 2009-06-17 22:23:31 +00:00 |  | 
			
				
					| 
							
							
								 Owen Anderson | dd561e1539 | Add an RAII ScopedWriter, which allows one to acquire a writer lock for the duration of a scope.  Simplify a lot of uses of writer locks in Constants.cpp by using it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73630 91177308-0d34-0410-b5e6-96231b3b80d8 | 2009-06-17 20:34:43 +00:00 |  | 
			
				
					| 
							
							
								 Owen Anderson | 82995a83e1 | Fix #include guards. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73548 91177308-0d34-0410-b5e6-96231b3b80d8 | 2009-06-16 20:26:04 +00:00 |  | 
			
				
					| 
							
							
								 Owen Anderson | 2a8cf9aadd | Add a portable wrapper for reader-writer locks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73545 91177308-0d34-0410-b5e6-96231b3b80d8 | 2009-06-16 20:19:28 +00:00 |  |