TaskSchedulerImpl for POSIX and compilation fixes

Former-commit-id: a402d40ac90cacf444b5832c49cfbdaf61f7f747
This commit is contained in:
Youri Hubaut
2015-05-16 13:10:54 +02:00
parent 602dd561d2
commit 2cb669a558
13 changed files with 302 additions and 39 deletions

View File

@@ -8,11 +8,12 @@
#define NAZARA_CONDITIONVARIABLE_HPP
#include <Nazara/Prerequesites.hpp>
#include <Nazara/Core/NonCopyable.hpp>
class NzConditionVariableImpl;
class NzMutex;
class NAZARA_API NzConditionVariable
class NAZARA_API NzConditionVariable : NzNonCopyable
{
public:
NzConditionVariable();

View File

@@ -23,6 +23,8 @@
#include <Nazara/Core/ThreadSafetyOff.hpp>
#endif
#include <ctime>
class NzFileImpl;
class NAZARA_API NzFile : public NzHashable, public NzInputStream, NzNonCopyable

View File

@@ -21,7 +21,9 @@ class NAZARA_API NzMutex : NzNonCopyable
~NzMutex();
void Lock();
bool TryLock();
void Unlock();
private:

View File

@@ -19,7 +19,9 @@ class NAZARA_API NzSemaphore : NzNonCopyable
~NzSemaphore();
unsigned int GetCount() const;
void Post();
void Wait();
bool Wait(nzUInt32 timeout);