src/hotspot/os/windows/threadCritical_windows.cpp
changeset 47765 b7c7428eaab9
parent 47524 97569cf468f4
child 59252 623722a6aeb9
equal deleted inserted replaced
47764:029d5efaaa6c 47765:b7c7428eaab9
    34 //
    34 //
    35 // See threadCritical.hpp for details of this class.
    35 // See threadCritical.hpp for details of this class.
    36 //
    36 //
    37 
    37 
    38 static bool initialized = false;
    38 static bool initialized = false;
    39 static volatile jint lock_count = -1;
    39 static volatile int lock_count = -1;
    40 static HANDLE lock_event;
    40 static HANDLE lock_event;
    41 static DWORD lock_owner = -1;
    41 static DWORD lock_owner = -1;
    42 
    42 
    43 //
    43 //
    44 // Note that Microsoft's critical region code contains a race
    44 // Note that Microsoft's critical region code contains a race