< prev index next >
src/hotspot/os/posix/os_posix.hpp
Print this page
rev 57095 : [mq]: use
rev 57096 : [mq]: trailing_semi
*** 283,296 ****
PlatformMutex();
~PlatformMutex();
#endif // PLATFORM_MONITOR_IMPL_INDIRECT
! private:
! // Disable copying
! PlatformMutex(const PlatformMutex&);
! PlatformMutex& operator=(const PlatformMutex&);
public:
void lock();
void unlock();
bool try_lock();
--- 283,294 ----
PlatformMutex();
~PlatformMutex();
#endif // PLATFORM_MONITOR_IMPL_INDIRECT
! private:
! NONCOPYABLE(PlatformMutex);
public:
void lock();
void unlock();
bool try_lock();
*** 327,339 ****
~PlatformMonitor();
#endif // PLATFORM_MONITOR_IMPL_INDIRECT
private:
! // Disable copying
! PlatformMonitor(const PlatformMonitor&);
! PlatformMonitor& operator=(const PlatformMonitor&);
public:
int wait(jlong millis);
void notify();
void notify_all();
--- 325,335 ----
~PlatformMonitor();
#endif // PLATFORM_MONITOR_IMPL_INDIRECT
private:
! NONCOPYABLE(PlatformMonitor);
public:
int wait(jlong millis);
void notify();
void notify_all();
< prev index next >