1 --- ./Source/C/NCSUtil/NCSThread.cpp.orig 2010-10-29 16:17:21.000000000 +0100
2 +++ ./Source/C/NCSUtil/NCSThread.cpp 2010-10-29 16:20:15.000000000 +0100
4 //void **pStartData = (void **)NCSMalloc(2 * sizeof(void*), TRUE);
5 //pStartData[0] = (void*)this;
6 //pStartData[1] = pData;
7 + if( m_Thread != NCS_NULL_THREAD_ID )
9 + //fprintf( stderr, "Cleanup old threadinfo in spawn()\n" );
11 + m_Thread = NCS_NULL_THREAD_ID;
15 return(NCSThreadSpawn(&m_Thread, CNCSThread::ThreadFunc, (void*)this, bCreateSuspended)==TRUE);