Skip to content

Feat/port agent runner changes - #163

Merged
Nadia-Adaptive merged 4 commits into
masterfrom
feat/port-agent-runner-changes
Sep 18, 2026
Merged

Nadia-Adaptive merged 4 commits into
masterfrom
feat/port-agent-runner-changes

Conversation

@Nadia-Adaptive

Copy link
Copy Markdown
Contributor

No description provided.

try
{
try
while (thread.IsAlive)

@pveentjer pveentjer Aug 31, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the original code, there was an IsClosed check which is now gone.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The isClosed check has been moved to line 195. This matches the 2.5.0 AgentRunner behaviour.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code for the close in Java looks different. I would really keep it as close at that implementation.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I should dig into Agrona .NET.

Comment thread src/Adaptive.Agrona/Concurrent/AgentRunner.cs
Comment thread src/Adaptive.Agrona/Concurrent/AgentRunner.cs
@Nadia-Adaptive
Nadia-Adaptive force-pushed the feat/port-agent-runner-changes branch from 91728de to 730ee3c Compare September 17, 2026 12:52
@Nadia-Adaptive

Copy link
Copy Markdown
Contributor Author

Discussed PR comments with @pveentjer offline and resolved the comments around the faithfulness of the port. The main concern, that the Dispose loop could cause an infinite loop, is behaviour from upstream, and we've agreed that is where the discussion for this will take place.

Until upstream's behaviour changes again, this port will be Agrona.NET's behaviour going forward.

@Nadia-Adaptive
Nadia-Adaptive merged commit 25e6a08 into master Sep 18, 2026
4 checks passed
@Nadia-Adaptive
Nadia-Adaptive deleted the feat/port-agent-runner-changes branch September 18, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants