mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
pthread: catch time out exception
This commit is contained in:
parent
a11a17147f
commit
fcd76d10dd
@ -510,6 +510,9 @@ extern "C" {
|
||||
c->signal_sem.down(timeout);
|
||||
} catch (Timeout_exception) {
|
||||
result = ETIMEDOUT;
|
||||
} catch (Genode::Nonblocking_exception) {
|
||||
errno = ETIMEDOUT;
|
||||
result = ETIMEDOUT;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user