diff options
author | rpj <rpj> | 1998-08-06 08:32:53 +0000 |
---|---|---|
committer | rpj <rpj> | 1998-08-06 08:32:53 +0000 |
commit | 9b0e93aa59205fa6e35f0d8e5c2065c6e806f114 (patch) | |
tree | 229bda74f9892a8f7bf12693be7d029d98aac87b /misc.c | |
parent | f1f8c6bef1563b8752967631ad024953584964d7 (diff) |
*** empty log message ***
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,12 +25,12 @@ pthread_once(pthread_once_t *once_control, the DLL is unloaded. */ /* An atomic test-and-set of the "once" flag. */ - EnterCriticalSection(once_control->lock); + EnterCriticalSection(&once_control->lock); if (once_control->flag == 0) { flag = once_control->flag = 1; } - LeaveCriticalSection(once_control->lock); + LeaveCriticalSection(&once_control->lock); if (flag) { |