mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 02:00:15 +01:00
a628c163d5a17a28ad4e77bf6468f92cc1e0a17b
* Implemented a combination static link and dynamic link system; threads still benefit from DLL-level thread management, but speed-critical actions (semaphore and mutex locks) can now inline their "accelerated" interlocks properly. Should be a nice speedup. * Implemented a highly optimized pthread_testcancel(), that typically performs its test in a single cycle. :) * Disabled static mutexes. They aren't needed in C++ code, and reduce mutex locking overhead nicely. * Use intrin.h for Interlocked functions, instead of pthreads' built in ones. * Reverted my previous commit, since TLS isn't safe in DLLs. (oops!) * Disabled pthread_spin API, it's not entirely cross-platform and shouldn't be used anyway (bad threading model for modern computing) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1925 96395faa-99c1-11dd-bbfe-3dabce05a288
Languages
C++
88.5%
C
2.8%
HTML
2.5%
GLSL
1.2%
Objective-C++
1%
Other
3.8%