8132232: Signature mismatch between declaration and definition of PosixSemaphore::timedwait
Reviewed-by: dholmes, kbarrett
This commit is contained in:
parent
91fcaa5017
commit
8cc8dd861a
@ -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…
Reference in New Issue
Block a user