Add a coordinator threads framework#5749
Open
ndptech wants to merge 11 commits intoFreeRADIUS:masterfrom
Open
Conversation
arr2036
reviewed
Feb 23, 2026
Member
|
@claude review for all issue types, thinking extra hard about concurrency issues |
Member
|
...and the action is broken. That's great. |
arr2036
reviewed
Feb 24, 2026
Member
|
Manually triggered review |
517dcf4 to
a54820e
Compare
arr2036
reviewed
Feb 27, 2026
arr2036
reviewed
Feb 27, 2026
arr2036
reviewed
Feb 27, 2026
arr2036
reviewed
Feb 27, 2026
arr2036
reviewed
Feb 27, 2026
arr2036
reviewed
Feb 27, 2026
arr2036
reviewed
Feb 27, 2026
arr2036
reviewed
Feb 27, 2026
arr2036
reviewed
Feb 27, 2026
arr2036
reviewed
Feb 27, 2026
320100b to
069a454
Compare
To allow the control plane to be used for an arbitrary number of message IDs
069a454 to
6f5a9de
Compare
In preparation for using separate processes in place of threads
Allows callbacks to register an instance create function to create instance data and a set of callbacks to run as part of the event loop.
On the coordinator side the pair list is then converted to a request and run through an interpreter.
Control planes can be multi-producer, single consumer - so mulitple threads can send / push a message.
6f5a9de to
6cb05dd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the ability for modules to register coordinators and the associated callbacks to run when messages are passed between workers and coordinators.
In addition to raw data messages,
coord_pairadds the ability to use pair lists as the data sent, encoded with the internal encoder.