in threadOnceOsd get rid of *id = 1 after call to func

This commit is contained in:
Marty Kraimer
2000-03-03 16:37:00 +00:00
parent cd630a1424
commit 9dcfc96a10

View File

@@ -186,7 +186,6 @@ void threadOnceOsd(threadOnceId *id, void (*func)(void *), void *arg)
if (*id == 0) {
*id = -1;
func(arg);
*id = 1;
}
semMutexGive(onceMutex);
}