< prev index next >

src/hotspot/os/bsd/semaphore_bsd.hpp

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

*** 23,32 **** --- 23,34 ---- */ #ifndef OS_BSD_SEMAPHORE_BSD_HPP #define OS_BSD_SEMAPHORE_BSD_HPP + #include "utilities/macros.hpp" + #ifndef __APPLE__ // Use POSIX semaphores. # include "semaphore_posix.hpp" #else
*** 35,47 **** # include <mach/semaphore.h> class OSXSemaphore : public CHeapObj<mtInternal>{ semaphore_t _semaphore; ! // Prevent copying and assignment. ! OSXSemaphore(const OSXSemaphore&); ! OSXSemaphore& operator=(const OSXSemaphore&); public: OSXSemaphore(uint value = 0); ~OSXSemaphore(); --- 37,47 ---- # include <mach/semaphore.h> class OSXSemaphore : public CHeapObj<mtInternal>{ semaphore_t _semaphore; ! NONCOPYABLE(OSXSemaphore); public: OSXSemaphore(uint value = 0); ~OSXSemaphore();
< prev index next >