TaskSchedulerImpl for POSIX and compilation fixes
Former-commit-id: a402d40ac90cacf444b5832c49cfbdaf61f7f747
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
#include <Nazara/Core/ThreadSafetyOff.hpp>
|
||||
#endif
|
||||
|
||||
#include <ctime>
|
||||
|
||||
class NzFileImpl;
|
||||
|
||||
class NAZARA_API NzFile : public NzHashable, public NzInputStream, NzNonCopyable
|
||||
|
||||
@@ -21,7 +21,9 @@ class NAZARA_API NzMutex : NzNonCopyable
|
||||
~NzMutex();
|
||||
|
||||
void Lock();
|
||||
|
||||
bool TryLock();
|
||||
|
||||
void Unlock();
|
||||
|
||||
private:
|
||||
|
||||
@@ -19,7 +19,9 @@ class NAZARA_API NzSemaphore : NzNonCopyable
|
||||
~NzSemaphore();
|
||||
|
||||
unsigned int GetCount() const;
|
||||
|
||||
void Post();
|
||||
|
||||
void Wait();
|
||||
bool Wait(nzUInt32 timeout);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user