* thread.h (fast_mutex::init): Initialize lock_counter.
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user