Skip to content

rd-reflection: better pumping on sync calls#593

Merged
ulex merged 2 commits intomasterfrom
au/rd-reflection-pumping
Feb 23, 2026
Merged

rd-reflection: better pumping on sync calls#593
ulex merged 2 commits intomasterfrom
au/rd-reflection-pumping

Conversation

@ulex
Copy link
Collaborator

@ulex ulex commented Feb 23, 2026

There is currently a race condition with the switching scheduler approach. If two calls start simultaneously from both ends with a small time gap, then a deadlock is possible.

One way to address this issue is to introduce explicit pumping behavior for certain schedulers. This change is required for ReSharper OOP. The schedulers defined in Rd are modified only for testing purposes.

@ulex ulex requested a review from Iliya-usov February 23, 2026 13:13
Alexander Ulitin added 2 commits February 23, 2026 14:47
There is currently a race condition with the switching scheduler
approach. If two calls start simultaneously from both ends with a small
time gap, then a deadlock is possible.

One way to address this issue is to introduce explicit pumping behavior
for certain schedulers. This change is required for ReSharper OOP. The
schedulers defined in Rd are modified only for testing purposes.
@ulex ulex force-pushed the au/rd-reflection-pumping branch from f59cb58 to a55fb9d Compare February 23, 2026 13:48
@ulex ulex merged commit 10b52cf into master Feb 23, 2026
9 checks passed
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