Commit Graph
19 Commits
Author SHA1 Message Date
Glenn Maynard 3e7f55ae30 no, don't use pthreads extensions if we don't at least have timedlock (not going to bother making it two tests unless it's actually needed) 2004-09-08 08:56:19 +00:00
Steve Checkoway bf3ce581af OS X has pthread_cond_timedwait but not pthread_mutex_timedlock. 2004-09-08 08:36:43 +00:00
Glenn Maynard 2625da14f2 cleanup
support semaphore timeouts
2004-09-08 07:56:32 +00:00
Steve Checkoway bdd4988829 Simplify. 2004-09-07 12:49:49 +00:00
Steve Checkoway 8adbeda32a Use DarwinThreadHelpers, remove mach stuff. 2004-09-07 12:38:10 +00:00
Glenn Maynard 5403b135b7 use RunningUnderValgrind() 2004-09-06 08:32:25 +00:00
Glenn Maynard d176c8af17 avoid pthread_mutex_timedlock in valgrind 2004-08-22 01:31:12 +00:00
Glenn Maynard 2ec6b55568 try using conditions for semaphores; standard semaphores are apparently too hard for OSX 2004-06-16 04:23:50 +00:00
Glenn Maynard 78411846e0 simplify; use SemaImpl_Pthreads instead of using low-level semaphores in two places 2004-06-16 03:13:11 +00:00
Glenn Maynard f5a35af702 use errno 2004-06-16 02:20:14 +00:00
Glenn Maynard 7821347dee use errno 2004-06-16 02:18:56 +00:00
Glenn Maynard 994c367deb don't throw in thread setup 2004-06-16 02:17:20 +00:00
Glenn Maynard 76f41546e2 fix various races 2004-06-16 01:53:27 +00:00
Glenn Maynard 003ba7cb63 fix compile 2004-06-14 05:25:25 +00:00
Glenn Maynard cf9d31917f add TryLock
add semaphores
2004-06-14 05:21:46 +00:00
Glenn Maynard 4c14fb3943 simplify (handle recursive locking in RageMutex) 2004-06-11 19:08:56 +00:00
Steve Checkoway 59d82961b9 Fix compile. 2004-06-11 07:39:53 +00:00
Glenn Maynard e80b8885db ThreadImpl_Pthreads compiles 2004-06-11 05:26:00 +00:00
Glenn Maynard 310c18d70c break thread/mutex implementation stuff out of RageThreads
(not used yet)
2004-06-11 05:12:58 +00:00