mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 12:34:32 +02:00
8132232: Signature mismatch between declaration and definition of PosixSemaphore::timedwait
Reviewed-by: dholmes, kbarrett
This commit is contained in:
parent
91fcaa5017
commit
8cc8dd861a
1 changed files with 1 additions and 1 deletions
|
@ -1079,7 +1079,7 @@ bool PosixSemaphore::trywait() {
|
|||
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue