Little fixes for git.
Former-commit-id: 3fac0c3a4402184bfca89fd7e0b954ccbb6bc1da
This commit is contained in:
parent
77a87ce2c9
commit
9ea7817502
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
NzMutexImpl::NzMutexImpl()
|
NzMutexImpl::NzMutexImpl()
|
||||||
{
|
{
|
||||||
|
|
||||||
pthread_mutex_init(&m_handle, NULL);
|
pthread_mutex_init(&m_handle, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@
|
||||||
NzThreadImpl::NzThreadImpl(NzFunctor* functor)
|
NzThreadImpl::NzThreadImpl(NzFunctor* functor)
|
||||||
{
|
{
|
||||||
int error = pthread_create(&m_handle, nullptr, &NzThreadImpl::ThreadProc, functor);
|
int error = pthread_create(&m_handle, nullptr, &NzThreadImpl::ThreadProc, functor);
|
||||||
|
|
||||||
if (error != 0)
|
if (error != 0)
|
||||||
NazaraInternalError("Failed to create thread: " + NzGetLastSystemError());
|
NazaraInternalError("Failed to create thread: " + NzGetLastSystemError());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue