Commit Graph
17 Commits
Author SHA1 Message Date
Steve Checkoway 79218ae6ad Bah. Revert. The functions sem_init() and sem_destroy() are implemented as stubs only. They return -1 with errno=ENOSYS. 2006-02-05 13:21:58 +00:00
Steve Checkoway 48bf80b5f6 OS X has semaphores for every version we support (10.2.8 and on). 2006-02-05 13:00:09 +00:00
Glenn Maynard 63604a6536 implement RageEvent::Wait timeouts 2005-01-26 20:59:41 +00:00
Glenn Maynard 0330fa9e87 untested pthreads event implementation 2004-11-07 22:56:03 +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 3f615baa8d remove ugly ThreadImpl::GetCrashHandle 2004-09-07 03:05:56 +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 76f41546e2 fix various races 2004-06-16 01:53:27 +00:00
Glenn Maynard 1f0ac3792d #include <pthread.h>, just in case 2004-06-14 05:28:30 +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
Glenn Maynard 6ca1cc935c implement Threads_Pthreads::GetCrashHandle 2004-06-11 07:06:48 +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