* thread.h (fast_mutex::init): Initialize lock_counter.

This commit is contained in:
Thomas Pfaff 2003-10-27 21:12:42 +00:00
parent bfe5ae413f
commit 7cba834bf2
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View File

@ -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)
{