From a79ebde4099f4e5cd201f077793867235ac6501b Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 9 Dec 2024 01:31:54 +0100 Subject: Fix ipc_mqueue_receive locking documentation --- ipc/ipc_mqueue.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipc/ipc_mqueue.c b/ipc/ipc_mqueue.c index 95308f35..cfd72ca3 100644 --- a/ipc/ipc_mqueue.c +++ b/ipc/ipc_mqueue.c @@ -495,7 +495,8 @@ ipc_mqueue_copyin( * If resume is true, then we are resuming a receive * operation after a blocked receive discarded our stack. * Conditions: - * The message queue is locked; it will be returned unlocked. + * The message queue is locked (unless resume is true); it + * will be returned unlocked. * * Our caller must hold a reference for the port or port set * to which this queue belongs, to keep the queue -- cgit v1.2.3