Little fixes and recursive mutex in NzFile

Former-commit-id: 7b5f3a6b14d027dc664e5d220257a22caca25c95
This commit is contained in:
Youri Hubaut
2015-05-02 16:19:46 +02:00
parent 854efefda1
commit b29d1ffcd8
8 changed files with 26 additions and 23 deletions

View File

@@ -35,7 +35,7 @@ bool NzConditionVariableImpl::Wait(NzMutexImpl* mutex, nzUInt32 timeout)
{
// get the current time
timeval tv;
gettimeofday(&tv, NULL);
gettimeofday(&tv, nullptr);
// construct the time limit (current time + time to wait)
timespec ti;