mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-31 14:40: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);
|
c->signal_sem.down(timeout);
|
||||||
} catch (Timeout_exception) {
|
} catch (Timeout_exception) {
|
||||||
result = ETIMEDOUT;
|
result = ETIMEDOUT;
|
||||||
|
} catch (Genode::Nonblocking_exception) {
|
||||||
|
errno = ETIMEDOUT;
|
||||||
|
result = ETIMEDOUT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user