* thread.h (fast_mutex::init): Initialize lock_counter.
This commit is contained in:
parent
bfe5ae413f
commit
7cba834bf2
@ -1,3 +1,7 @@
|
||||
2003-10-27 Thomas Pfaff <tpfaff@gmx.net>
|
||||
|
||||
* thread.h (fast_mutex::init): Initialize lock_counter.
|
||||
|
||||
2003-10-27 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* Makefile.in (OBSOLETE_FUNCTION): Add tmpfile.
|
||||
|
@ -140,6 +140,7 @@ public:
|
||||
|
||||
bool init ()
|
||||
{
|
||||
lock_counter = 0;
|
||||
win32_obj_id = ::CreateSemaphore (&sec_none_nih, 0, LONG_MAX, NULL);
|
||||
if (!win32_obj_id)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user