nova: handle race during signal setup phase

Fixes #1266
This commit is contained in:
Alexander Boettcher
2014-09-30 15:40:16 +02:00
committed by Christian Helmuth
parent 0252d47f28
commit 53d471aa22
2 changed files with 43 additions and 15 deletions

View File

@ -46,8 +46,7 @@ void Signal_source_component::submit(Signal_context_component *context,
if (!context->is_enqueued()) {
_signal_queue.enqueue(context);
/* wake up client */
Nova::sm_ctrl(_blocking_semaphore.local_name(), Nova::SEMAPHORE_UP);
_wakeup_client();
}
}