< prev index next >

src/os/windows/vm/os_windows.cpp

Print this page

        

*** 1901,1913 **** guarantee(_semaphore != NULL, err_msg("CreateSemaphore failed with error code: %lu", GetLastError())); } WindowsSemaphore::~WindowsSemaphore() { - if (_semaphore != NULL) { ::CloseHandle(_semaphore); - } } void WindowsSemaphore::signal(uint count) { if (count > 0) { BOOL ret = ::ReleaseSemaphore(_semaphore, count, NULL); --- 1901,1911 ----
< prev index next >