Commit Graph

11 Commits

Author SHA1 Message Date
Leandro (Cerberus1746) Benedet Garcia 5f7809469c general: removed all WIN32, WIN32_VC and friends 2020-02-05 22:45:03 -07:00
rdb 89392f0e2d dtoolbase: new mutex and condition variable impl on Windows
This uses SRWLock on Vista and above, and uses a hand-rolled implementation on Windows XP that uses Events (and a spinlock, if this is a multi-core system).

Since SRWLocks aren't recursive, ReMutexWin32Impl has been added to implement recursive mutices, using old-fashioned critical sections.

MutexImpl now has a constexpr constructor on all implementations.
2019-02-07 00:20:59 +01:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
David Rose 72f6c6d580 build errors 2009-06-16 01:49:59 +00:00
David Rose a1df809fd0 TrueMutexImpl 2009-06-16 00:04:13 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
David Rose 2e8fec7683 fix mutex_spinlock 2007-11-27 01:08:46 +00:00
David Rose 8d2bdc39fd first pass at SIMPLE_THREADS 2007-06-21 15:33:27 +00:00
David Rose baa0f8039c completely shoot nspr 2007-03-07 21:57:15 +00:00
David Rose 7986aaa0c3 mutex_spinlock 2006-04-12 15:15:37 +00:00
David Rose 8a78fffd8f multithreading optimizations, tau profiler, related changes 2006-04-05 19:36:05 +00:00