mirror of https://github.com/PCSX2/pcsx2.git
a628c163d5
* 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 |
||
---|---|---|
.. | ||
implement.h | ||
need_errno.h | ||
pthread.h | ||
sched.h | ||
semaphore.h |