< prev index next >

src/share/vm/runtime/semaphore.hpp

Print this page
rev 13142 : 8183229: Implement WindowsSemaphore::trywait
Reviewed-by:

*** 50,58 **** --- 50,60 ---- ~Semaphore() {} void signal(uint count = 1) { _impl.signal(count); } void wait() { _impl.wait(); } + + bool trywait() { return _impl.trywait(); } }; #endif // SHARE_VM_RUNTIME_SEMAPHORE_HPP
< prev index next >