# HG changeset patch # User simonis # Date 1437661788 -7200 # Node ID a7dd5bba0fd81788eecf2e60bfd4006fb89fac87 # Parent 5077d8d47de99489fdd573eb165be5e30db2ba51 8132232: Signature mismatch between declaration and definition of PosixSemaphore::timedwait Reviewed-by: dholmes, kbarrett diff -r 5077d8d47de9 -r a7dd5bba0fd8 hotspot/src/os/posix/vm/os_posix.cpp --- a/hotspot/src/os/posix/vm/os_posix.cpp Fri Jul 24 03:50:48 2015 +0000 +++ b/hotspot/src/os/posix/vm/os_posix.cpp Thu Jul 23 16:29:48 2015 +0200 @@ -1079,7 +1079,7 @@ return ret == 0; } -bool PosixSemaphore::timedwait(const struct timespec ts) { +bool PosixSemaphore::timedwait(struct timespec ts) { while (true) { int result = sem_timedwait(&_semaphore, &ts); if (result == 0) {