< prev index next >

src/hotspot/os/windows/semaphore_windows.hpp

Print this page
rev 57095 : [mq]: use
rev 57096 : [mq]: trailing_semi

*** 24,42 **** #ifndef OS_WINDOWS_SEMAPHORE_WINDOWS_HPP #define OS_WINDOWS_SEMAPHORE_WINDOWS_HPP #include "memory/allocation.hpp" #include <windows.h> class WindowsSemaphore : public CHeapObj<mtInternal> { HANDLE _semaphore; ! // Prevent copying and assignment. ! WindowsSemaphore(const WindowsSemaphore&); ! WindowsSemaphore& operator=(const WindowsSemaphore&); public: WindowsSemaphore(uint value = 0); ~WindowsSemaphore(); --- 24,41 ---- #ifndef OS_WINDOWS_SEMAPHORE_WINDOWS_HPP #define OS_WINDOWS_SEMAPHORE_WINDOWS_HPP #include "memory/allocation.hpp" + #include "utilities/macros.hpp" #include <windows.h> class WindowsSemaphore : public CHeapObj<mtInternal> { HANDLE _semaphore; ! NONCOPYABLE(WindowsSemaphore); public: WindowsSemaphore(uint value = 0); ~WindowsSemaphore();
< prev index next >