Little fixes and recursive mutex in NzFile
Former-commit-id: 7b5f3a6b14d027dc664e5d220257a22caca25c95
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user