committed by
Christian Helmuth
parent
85a1f91f59
commit
e87d60ddf7
@@ -82,7 +82,7 @@ void Irq_object::_wait_for_irq()
|
||||
void Irq_object::start()
|
||||
{
|
||||
::Thread::start();
|
||||
_sync_bootup.lock();
|
||||
_sync_bootup.block();
|
||||
}
|
||||
|
||||
|
||||
@@ -94,10 +94,10 @@ void Irq_object::entry()
|
||||
}
|
||||
|
||||
/* thread is up and ready */
|
||||
_sync_bootup.unlock();
|
||||
_sync_bootup.wakeup();
|
||||
|
||||
/* wait for first ack_irq */
|
||||
_sync_ack.lock();
|
||||
_sync_ack.block();
|
||||
|
||||
while (true) {
|
||||
|
||||
@@ -108,7 +108,7 @@ void Irq_object::entry()
|
||||
|
||||
Genode::Signal_transmitter(_sig_cap).submit(1);
|
||||
|
||||
_sync_ack.lock();
|
||||
_sync_ack.block();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,7 +116,6 @@ void Irq_object::entry()
|
||||
Irq_object::Irq_object(unsigned irq)
|
||||
:
|
||||
Thread_deprecated<4096>("irq"),
|
||||
_sync_ack(Lock::LOCKED), _sync_bootup(Lock::LOCKED),
|
||||
_irq(irq)
|
||||
{ }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user