Skip to content

Commit 069a454

Browse files
committed
Clarify comment
Control planes can be multi-producer, single consumer - so mulitple threads can send / push a message.
1 parent d7137e2 commit 069a454

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/io/control.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ static fr_control_message_t *fr_control_message_alloc(fr_control_t *c, fr_ring_b
302302

303303
/** Push a control-plane message
304304
*
305-
* This function is called ONLY from the originating thread.
305+
* This function is called ONLY from the originating threads.
306306
*
307307
* @param[in] c the control structure
308308
* @param[in] rb the callers ring buffer for message allocation.
@@ -343,7 +343,7 @@ int fr_control_message_push(fr_control_t *c, fr_ring_buffer_t *rb, uint32_t id,
343343

344344
/** Send a control-plane message
345345
*
346-
* This function is called ONLY from the originating thread.
346+
* This function is called ONLY from the originating threads.
347347
*
348348
* @param[in] c the control structure
349349
* @param[in] rb the callers ring buffer for message allocation.

0 commit comments

Comments
 (0)