Skip to content

Commit

Permalink
fix: set have_signal to false after NBSendRecv
Browse files Browse the repository at this point in the history
Signed-off-by: isubasinghe <[email protected]>
  • Loading branch information
isubasinghe authored and Ivan-Velickovic committed Sep 25, 2023
1 parent 6f08b2e commit c789acf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libmicrokit/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ static void handler_loop(void)
tag = seL4_ReplyRecv(INPUT_CAP, reply_tag, &badge, REPLY_CAP);
} else if (have_signal) {
tag = seL4_NBSendRecv(signal, signal_msg, INPUT_CAP, &badge, REPLY_CAP);
have_signal = false;
} else {
tag = seL4_Recv(INPUT_CAP, &badge, REPLY_CAP);
}
Expand Down

0 comments on commit c789acf

Please sign in to comment.