< prev index next >
src/hotspot/os/windows/os_windows.hpp
Print this page
rev 57095 : [mq]: use
rev 57096 : [mq]: trailing_semi
@@ -188,13 +188,11 @@
} ;
// Platform specific implementations that underpin VM Mutex/Monitor classes
class PlatformMutex : public CHeapObj<mtSynchronizer> {
- // Disable copying
- PlatformMutex(const PlatformMutex&);
- PlatformMutex& operator=(const PlatformMutex&);
+ NONCOPYABLE(PlatformMutex);
protected:
CRITICAL_SECTION _mutex; // Native mutex for locking
public:
@@ -206,13 +204,11 @@
};
class PlatformMonitor : public PlatformMutex {
private:
CONDITION_VARIABLE _cond; // Native condition variable for blocking
- // Disable copying
- PlatformMonitor(const PlatformMonitor&);
- PlatformMonitor& operator=(const PlatformMonitor&);
+ NONCOPYABLE(PlatformMonitor);
public:
PlatformMonitor();
~PlatformMonitor();
int wait(jlong millis);
< prev index next >