* 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

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