mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-25 13:28:28 +00:00
Make signal test more robust wrt scheduling
This commit is contained in:
parent
b8f88c035a
commit
349dccd46d
@ -414,7 +414,11 @@ static void stress_test()
|
||||
/* stop emitting signals */
|
||||
printf("deactivate sender\n");
|
||||
sender->idle();
|
||||
timer.msleep(FINISH_IDLE_TIME);
|
||||
|
||||
while (handler->receive_cnt() < sender->submit_cnt()) {
|
||||
printf("waiting for signals still in flight...");
|
||||
timer.msleep(FINISH_IDLE_TIME);
|
||||
}
|
||||
|
||||
printf("\n");
|
||||
printf("sender submitted a total of %d signals\n", sender->submit_cnt());
|
||||
|
Loading…
x
Reference in New Issue
Block a user