src/hotspot/os/bsd/semaphore_bsd.hpp
changeset 53461 08d6edeb3145
parent 53244 9807daeb47c4
--- a/src/hotspot/os/bsd/semaphore_bsd.hpp	Wed Jan 23 14:10:31 2019 -0800
+++ b/src/hotspot/os/bsd/semaphore_bsd.hpp	Wed Jan 23 21:17:51 2019 -0500
@@ -50,10 +50,9 @@
   void wait();
 
   bool trywait();
-  bool timedwait(unsigned int sec, int nsec);
 
- private:
-  static int64_t currenttime();
+  // wait until the given relative time elapses
+  bool timedwait(int64_t millis);
 };
 
 typedef OSXSemaphore SemaphoreImpl;