Enabled PCH for w32pthreads library. It compiles a *lot* faster now. ;) [whole thing rebuilds in under a second on my machine, heh]

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@639 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-03-01 05:06:25 +00:00
parent 88f95dd22e
commit 6f10835725
24 changed files with 686 additions and 44 deletions

View File

@ -38,8 +38,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#include "pthread.h" #include "ptw32pch.h"
#include "implement.h"
#include "pthread_attr_init.c" #include "pthread_attr_init.c"
#include "pthread_attr_destroy.c" #include "pthread_attr_destroy.c"

View File

@ -34,9 +34,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#include "pthread.h" #include "ptw32pch.h"
#include "implement.h"
#include "pthread_barrier_init.c" #include "pthread_barrier_init.c"
#include "pthread_barrier_destroy.c" #include "pthread_barrier_destroy.c"

View File

@ -34,9 +34,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#include "pthread.h" #include "ptw32pch.h"
#include "implement.h"
#include "pthread_setcancelstate.c" #include "pthread_setcancelstate.c"
#include "pthread_setcanceltype.c" #include "pthread_setcanceltype.c"

View File

@ -36,9 +36,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#include "pthread.h" #include "ptw32pch.h"
#include "implement.h"
/* /*
* The functions ptw32_pop_cleanup and ptw32_push_cleanup * The functions ptw32_pop_cleanup and ptw32_push_cleanup

View File

@ -36,8 +36,7 @@
* *
*/ */
#include "pthread.h" #include "ptw32pch.h"
#include "implement.h"
#include "ptw32_cond_check_need_init.c" #include "ptw32_cond_check_need_init.c"
#include "pthread_condattr_init.c" #include "pthread_condattr_init.c"

View File

@ -35,8 +35,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#include "pthread.h" #include "ptw32pch.h"
#include "implement.h"
#ifndef _UWIN #ifndef _UWIN
#include <process.h> #include <process.h>
#endif #endif

View File

@ -35,10 +35,9 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#if defined(NEED_ERRNO) #include "ptw32pch.h"
#include "pthread.h" #if defined(NEED_ERRNO)
#include "implement.h"
static int reallyBad = ENOMEM; static int reallyBad = ENOMEM;

View File

@ -35,8 +35,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#include "pthread.h" #include "ptw32pch.h"
#include "implement.h"
#ifndef _UWIN #ifndef _UWIN
# include <process.h> # include <process.h>
#endif #endif

View File

@ -35,5 +35,4 @@
*/ */
#include "pthread.h" #include "ptw32pch.h"
#include "implement.h"

View File

@ -35,8 +35,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#include "pthread.h" #include "ptw32pch.h"
#include "implement.h"
int ptw32_processInitialized = PTW32_FALSE; int ptw32_processInitialized = PTW32_FALSE;

View File

@ -34,8 +34,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#include "pthread.h" #include "ptw32pch.h"
#include "implement.h"
#include "pthread_kill.c" #include "pthread_kill.c"

View File

@ -34,14 +34,14 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#include "ptw32pch.h"
#ifndef _UWIN #ifndef _UWIN
# include <process.h> # include <process.h>
#endif #endif
#ifndef NEED_FTIME #ifndef NEED_FTIME
#include <sys/timeb.h> #include <sys/timeb.h>
#endif #endif
#include "pthread.h"
#include "implement.h"
#include "ptw32_mutex_check_need_init.c" #include "ptw32_mutex_check_need_init.c"

View File

@ -34,8 +34,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#include "pthread.h" #include "ptw32pch.h"
#include "implement.h"
#include "pthread_mutexattr_setkind_np.c" #include "pthread_mutexattr_setkind_np.c"
#include "pthread_mutexattr_getkind_np.c" #include "pthread_mutexattr_getkind_np.c"

View File

@ -35,8 +35,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#include "pthread.h" #include "ptw32pch.h"
#include "implement.h"
/* Must be first to define HAVE_INLINABLE_INTERLOCKED_CMPXCHG */ /* Must be first to define HAVE_INLINABLE_INTERLOCKED_CMPXCHG */
#include "ptw32_InterlockedCompareExchange.c" #include "ptw32_InterlockedCompareExchange.c"

View File

@ -235,18 +235,138 @@
<File <File
RelativePath=".\attr.c" RelativePath=".\attr.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\barrier.c" RelativePath=".\barrier.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\cancel.c" RelativePath=".\cancel.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\cleanup.c" RelativePath=".\cleanup.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\condvar.c" RelativePath=".\condvar.c"
@ -257,6 +377,9 @@
> >
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/> />
</FileConfiguration> </FileConfiguration>
<FileConfiguration <FileConfiguration
@ -265,6 +388,9 @@
> >
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/> />
</FileConfiguration> </FileConfiguration>
<FileConfiguration <FileConfiguration
@ -273,6 +399,9 @@
> >
<Tool <Tool
Name="VCCLCompilerTool" Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/> />
</FileConfiguration> </FileConfiguration>
</File> </File>
@ -283,66 +412,584 @@
<File <File
RelativePath=".\create.c" RelativePath=".\create.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\errno.c" RelativePath=".\errno.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\exit.c" RelativePath=".\exit.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\fork.c" RelativePath=".\fork.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\global.c" RelativePath=".\global.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\misc.c" RelativePath=".\misc.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\mutex.c" RelativePath=".\mutex.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\nonportable.c" RelativePath=".\nonportable.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\private.c" RelativePath=".\private.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\ptw32pch.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\ptw32pch.h"
>
</File> </File>
<File <File
RelativePath=".\rwlock.c" RelativePath=".\rwlock.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\sched.c" RelativePath=".\sched.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\semaphore.c" RelativePath=".\semaphore.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\signal.c" RelativePath=".\signal.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\spin.c" RelativePath=".\spin.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\sync.c" RelativePath=".\sync.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
<File <File
RelativePath=".\tsd.c" RelativePath=".\tsd.c"
> >
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File> </File>
</Filter> </Filter>
<Filter <Filter

4
3rdparty/w32pthreads/ptw32pch.c vendored Normal file
View File

@ -0,0 +1,4 @@
// Pcsx2-specific Feature: Precompiled Header support!
#include "ptw32pch.h"

10
3rdparty/w32pthreads/ptw32pch.h vendored Normal file
View File

@ -0,0 +1,10 @@
// Pcsx2-specific Feature: Precompiled Header support!
#ifndef _PTHREAD_W32_PCH_
#define _PTHREAD_W32_PCH_
#include "pthread.h"
#include "implement.h"
#endif

View File

@ -34,6 +34,8 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#include "ptw32pch.h"
#include "ptw32_rwlock_check_need_init.c" #include "ptw32_rwlock_check_need_init.c"
#include "ptw32_rwlock_cancelwrwait.c" #include "ptw32_rwlock_cancelwrwait.c"
#include "pthread_rwlock_init.c" #include "pthread_rwlock_init.c"

View File

@ -34,8 +34,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#include "pthread.h" #include "ptw32pch.h"
#include "implement.h"
#include "sched.h" #include "sched.h"
#include "pthread_attr_setschedpolicy.c" #include "pthread_attr_setschedpolicy.c"

View File

@ -45,15 +45,15 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#include "ptw32pch.h"
#ifndef NEED_FTIME #ifndef NEED_FTIME
# include <sys/timeb.h> # include <sys/timeb.h>
#endif #endif
#include <limits.h> #include <limits.h>
#include "pthread.h"
#include "semaphore.h" #include "semaphore.h"
#include "implement.h"
#include "sem_init.c" #include "sem_init.c"

View File

@ -81,8 +81,7 @@
* pthread_t structure. * pthread_t structure.
*/ */
#include "pthread.h" #include "ptw32pch.h"
#include "implement.h"
#if HAVE_SIGSET_T #if HAVE_SIGSET_T

View File

@ -34,8 +34,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#include "pthread.h" #include "ptw32pch.h"
#include "implement.h"
#include "ptw32_spinlock_check_need_init.c" #include "ptw32_spinlock_check_need_init.c"

View File

@ -35,8 +35,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#include "pthread.h" #include "ptw32pch.h"
#include "implement.h"
#include "pthread_detach.c" #include "pthread_detach.c"

View File

@ -34,8 +34,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#include "pthread.h" #include "ptw32pch.h"
#include "implement.h"
#include "pthread_key_create.c" #include "pthread_key_create.c"