initialize id variable in constructor
This commit is contained in:
1 parent
47729fed41
commit
c27b99996b
1 file changed
+1
@@ -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