mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +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;
|
||||
while (!work->done) {
|
||||
/* send signal */
|
||||
Event_context::e()->submit();
|
||||
__wait_event();
|
||||
|
||||
if (_j <= jiffies) {
|
||||
|
Loading…
Reference in New Issue
Block a user