Merge pull request #11 from d-Pixie/master

Fix for threading on Linux.
This commit is contained in:
Raynaldo Rivera 2012-02-19 10:37:31 -08:00
commit 118f8da5d2
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()