Commit Graph
9 Commits
Author SHA1 Message Date
Glenn Maynard 903aaadcc5 After signalling an event, always wait for the signalled thread to touch
m_WaitersDone.  This fixes problems with

 event.Lock();
 event.Signal();
 while(x) event.Wait();

picking up the signal that it just sent (which is wrong), especially in the
debugger.
2005-01-27 01:19:24 +00:00
Glenn Maynard 63604a6536 implement RageEvent::Wait timeouts 2005-01-26 20:59:41 +00:00
Glenn Maynard 4de15ff3a7 untested thread events implementation for win32 2004-11-07 22:43:39 +00:00
Glenn Maynard 3f615baa8d remove ugly ThreadImpl::GetCrashHandle 2004-09-07 03:05:56 +00:00
Glenn Maynard 3bf79d0bc4 track HANDLE separately 2004-09-07 02:55:41 +00:00
Chris Danford 6bd2a34271 Xbox builds again 2004-06-20 01:35: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 310c18d70c break thread/mutex implementation stuff out of RageThreads
(not used yet)
2004-06-11 05:12:58 +00:00