hotspot/src/share/vm/runtime/semaphore.hpp
changeset 46610 d3e75e23b534
parent 40010 e32d5e545789
--- a/hotspot/src/share/vm/runtime/semaphore.hpp	Mon Jul 03 14:24:07 2017 +0200
+++ b/hotspot/src/share/vm/runtime/semaphore.hpp	Fri Jun 30 10:36:32 2017 +0200
@@ -52,6 +52,8 @@
   void signal(uint count = 1) { _impl.signal(count); }
 
   void wait()                 { _impl.wait(); }
+
+  bool trywait()              { return _impl.trywait(); }
 };