mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 08:25:38 +00:00
usb_drv: Remove signaling in wait_event_timeout
With the server framework this becomes unnecessary. Also when the 'platform_drv' has a lower priority, signaling will cause a constant load that starves the 'platform_drv'. Fixes #1594
This commit is contained in:
parent
e143084b04
commit
d80c1c91be
@ -181,8 +181,6 @@ __wait_completion_timeout(struct completion *work, unsigned long timeout)
|
|||||||
{
|
{
|
||||||
unsigned long _j = jiffies + timeout;
|
unsigned long _j = jiffies + timeout;
|
||||||
while (!work->done) {
|
while (!work->done) {
|
||||||
/* send signal */
|
|
||||||
Event_context::e()->submit();
|
|
||||||
__wait_event();
|
__wait_event();
|
||||||
|
|
||||||
if (_j <= jiffies) {
|
if (_j <= jiffies) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user