Fix that fixes threading on Linux.

This commit is contained in:
Jonas Erlandsson 2012-02-19 19:22:31 +01:00
parent dc95d24dfc
commit 1c3e227ba8
1 changed files with 2 additions and 2 deletions

View File

@ -31,9 +31,9 @@ namespace cAudio
if(ThreadHandle == 0)
CloseHandle( ThreadHandle );
#else
ThreadID = pthread_create( &ThreadHandle, 0, threadFunc, this );
pthread_create( &ThreadHandle, 0, threadFunc, this );
#endif
IsInit = ThreadID != 0;
IsInit = ThreadHandle != 0;
return IsInit;
}
void cAudioThread::join()