Recently I had to do some work making a string library thread safe, and I believe I've done that(by using some inline assembly to make reference counting handled with atomic instructions), but now I need to test it to make sure.
I'm not entirely sure how to make such a test as I've never had to do that kind of thing before. What kind of things should the test suite do to make sure the reference counting is thread safe?
			
			I'm not entirely sure how to make such a test as I've never had to do that kind of thing before. What kind of things should the test suite do to make sure the reference counting is thread safe?
				
		
			