< prev index next >

src/os/windows/vm/semaphore_windows.hpp

Print this page

        

@@ -25,11 +25,11 @@
 #ifndef OS_WINDOWS_VM_SEMAPHORE_WINDOWS_HPP
 #define OS_WINDOWS_VM_SEMAPHORE_WINDOWS_HPP
 
 #include "memory/allocation.hpp"
 
-#include <WinBase.h>
+#include <windef.h>
 
 class WindowsSemaphore : public CHeapObj<mtInternal> {
   HANDLE _semaphore;
 
   // Prevent copying and assignment.

@@ -38,11 +38,11 @@
 
  public:
   WindowsSemaphore(uint value = 0);
   ~WindowsSemaphore();
 
-  void signal(uint count = 0);
+  void signal(uint count = 1);
 
   void wait();
 };
 
 typedef WindowsSemaphore SemaphoreImpl;
< prev index next >