2009-02-24 02:08:37 +00:00
|
|
|
-----------------------------------
|
|
|
|
-- Air's Notes on Using PThreads --
|
|
|
|
-----------------------------------
|
|
|
|
|
2009-06-18 08:20:19 +00:00
|
|
|
The official name of the DLL is "w32pthreads.dll" -- I use the prefix to indicate with
|
|
|
|
some vaugeness that the pthreads dll is a modified non-standard implementation (see below
|
|
|
|
for details); just in case pthreads-win32 dlls in another universe were to be conflicting
|
|
|
|
interests.
|
2009-02-24 02:08:37 +00:00
|
|
|
|
2009-06-18 08:20:19 +00:00
|
|
|
I created a subfolder for pthreads' publically exposed header files, since "config.h" was
|
2009-02-24 02:08:37 +00:00
|
|
|
rather brutal include file namespace pollution. >_<
|
|
|
|
|
|
|
|
Important: pthread_cond is an inherently flawed concept, and is quite incredibly slow
|
|
|
|
on top of it. It's primarily meant for inter-process thread regulation, of which we
|
|
|
|
do none. Therefore it has been excluded from the library builds. Don't use it!
|
|
|
|
|
2009-06-18 08:20:19 +00:00
|
|
|
I've also disabled rwlocks, since they use pthread_cond internally. Again, there should
|
|
|
|
be little or no reason to have to use those within the context of a high performance app
|
|
|
|
like Pcsx2.
|
|
|
|
|