mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-04 05:14:33 +01:00
Added a new Threading class: ScopedLock. Used as an automatic unlocking mutex (safe for use with C++ exceptions, and cleaner/simpler code too). It works like C#'s "using" and "lock" directives, for those familiar with that. Optimized the AtomicExchange implementations for MSVC. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@798 96395faa-99c1-11dd-bbfe-3dabce05a288