<ClInclude Include="..\src\lib\LibCEC.h" />
<ClInclude Include="..\src\lib\platform\baudrate.h" />
<ClInclude Include="..\src\lib\platform\os-dependent.h" />
+ <ClInclude Include="..\src\lib\platform\posix\pthreads.h" />
<ClInclude Include="..\src\lib\platform\pthread_win32\pthread.h" />
<ClInclude Include="..\src\lib\platform\pthread_win32\sched.h" />
<ClInclude Include="..\src\lib\platform\pthread_win32\semaphore.h" />
<ClCompile Include="..\src\lib\LibCEC.cpp" />
<ClCompile Include="..\src\lib\LibCECC.cpp" />
<ClCompile Include="..\src\lib\LibCECDll.cpp" />
+ <ClCompile Include="..\src\lib\platform\posix\pthreads.cpp" />
<ClCompile Include="..\src\lib\platform\threads.cpp" />
<ClCompile Include="..\src\lib\platform\windows\dlfcn-win32.cpp" />
<ClCompile Include="..\src\lib\platform\windows\os_windows.cpp" />
<Filter Include="devices">
<UniqueIdentifier>{bfc43a58-636d-4c1a-b191-486cb8509c7c}</UniqueIdentifier>
</Filter>
+ <Filter Include="platform\pthread_win32">
+ <UniqueIdentifier>{61b13ee2-8a5b-4f05-9796-08138ee6ebc1}</UniqueIdentifier>
+ </Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\lib\util\buffer.h">
<ClInclude Include="..\src\lib\platform\windows\os_windows.h">
<Filter>platform</Filter>
</ClInclude>
- <ClInclude Include="..\src\lib\platform\pthread_win32\pthread.h">
- <Filter>platform</Filter>
- </ClInclude>
- <ClInclude Include="..\src\lib\platform\pthread_win32\sched.h">
- <Filter>platform</Filter>
- </ClInclude>
- <ClInclude Include="..\src\lib\platform\pthread_win32\semaphore.h">
- <Filter>platform</Filter>
- </ClInclude>
<ClInclude Include="..\include\cec.h">
<Filter>exports</Filter>
</ClInclude>
<ClInclude Include="..\src\lib\devices\CECTV.h">
<Filter>devices</Filter>
</ClInclude>
+ <ClInclude Include="..\src\lib\platform\posix\pthreads.h">
+ <Filter>platform</Filter>
+ </ClInclude>
+ <ClInclude Include="..\src\lib\platform\pthread_win32\pthread.h">
+ <Filter>platform\pthread_win32</Filter>
+ </ClInclude>
+ <ClInclude Include="..\src\lib\platform\pthread_win32\sched.h">
+ <Filter>platform\pthread_win32</Filter>
+ </ClInclude>
+ <ClInclude Include="..\src\lib\platform\pthread_win32\semaphore.h">
+ <Filter>platform\pthread_win32</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\lib\AdapterCommunication.cpp" />
<ClCompile Include="..\src\lib\devices\CECTV.cpp">
<Filter>devices</Filter>
</ClCompile>
+ <ClCompile Include="..\src\lib\platform\posix\pthreads.cpp">
+ <Filter>platform</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="libcec.rc" />
<ClInclude Include="..\include\cec.h" />
<ClInclude Include="..\include\cecloader.h" />
<ClInclude Include="..\src\lib\platform\os-dependent.h" />
+ <ClInclude Include="..\src\lib\platform\posix\pthreads.h" />
<ClInclude Include="..\src\lib\platform\threads.h" />
<ClInclude Include="..\src\lib\platform\windows\os_windows.h" />
<ClInclude Include="..\src\lib\util\StdString.h" />
<ClInclude Include="resource1.h" />
</ItemGroup>
<ItemGroup>
+ <ClCompile Include="..\src\lib\platform\posix\pthreads.cpp" />
<ClCompile Include="..\src\lib\platform\threads.cpp" />
<ClCompile Include="..\src\lib\platform\windows\os_windows.cpp" />
<ClCompile Include="..\src\testclient\main.cpp" />
<ClInclude Include="resource1.h">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="..\src\lib\platform\posix\pthreads.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\testclient\main.cpp">
<ClCompile Include="..\src\lib\platform\windows\os_windows.cpp">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="..\src\lib\platform\posix\pthreads.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="testclient.rc">
class CThread : public IThread
{
public:
- CThread(void);
- virtual ~CThread(void);
+ CThread(void) { };
+ virtual ~CThread(void) { };
virtual bool CreateThread(bool bWait = true);
virtual bool StopThread(bool bWaitForExit = true);
#if defined(_WIN32)
#include "../pthread_win32/pthread.h"
-#include "../pthreads.h"
+#include "../posix/pthreads.h"
#endif
#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64