src/hotspot/os/posix/semaphore_posix.hpp
changeset 53461 08d6edeb3145
parent 53244 9807daeb47c4
--- a/src/hotspot/os/posix/semaphore_posix.hpp	Wed Jan 23 14:10:31 2019 -0800
+++ b/src/hotspot/os/posix/semaphore_posix.hpp	Wed Jan 23 21:17:51 2019 -0500
@@ -45,7 +45,10 @@
   void wait();
 
   bool trywait();
+  // wait until the given absolute time is reached
   bool timedwait(struct timespec ts);
+  // wait until the given relative time elapses
+  bool timedwait(int64_t millis);
 };
 
 typedef PosixSemaphore SemaphoreImpl;