initialize id variable in constructor
This commit is contained in:
@@ -19,6 +19,7 @@ static void osiThreadCallEntryPoint ( void *pPvt )
|
||||
if ( ! pThread->cancel ) {
|
||||
pThread->entryPoint ();
|
||||
}
|
||||
pThread->id = 0;
|
||||
pThread->exit.signal ();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user