Skip to content

Commit f057677

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

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
@@ -300,7 +300,7 @@ static fr_control_message_t *fr_control_message_alloc(fr_control_t *c, fr_ring_b
300300

301301
/** Push a control-plane message
302302
*
303-
* This function is called ONLY from the originating thread.
303+
* This function is called ONLY from the originating threads.
304304
*
305305
* @param[in] c the control structure
306306
* @param[in] rb the callers ring buffer for message allocation.
@@ -341,7 +341,7 @@ int fr_control_message_push(fr_control_t *c, fr_ring_buffer_t *rb, uint32_t id,
341341

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

0 commit comments

Comments
 (0)