Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Fuseable interface from ContextWriteRestoringThreadLocals #3409

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

chemicL
Copy link
Member

@chemicL chemicL commented Mar 21, 2023

FluxContextWriteRestoringThreadLocals and MonoContextWriteRestoringThreadLocals implement Fuseable, but their Subscription implementations don't support fusion.
The FluxContextWrite and MonoContextWrite operators support fusion, but are not a hard Thread barrier, such as the propagating counterparts. Fusion is forbidden in the automatic propagation case as ThreadLocals need to be set for every signal. This simplification is compatible, as the modified classes are not public.

@chemicL chemicL added type/enhancement A general enhancement area/context This issue is related to the Context labels Mar 21, 2023
@chemicL chemicL added this to the 3.5.5 milestone Mar 21, 2023
@chemicL chemicL self-assigned this Mar 21, 2023
@chemicL chemicL requested a review from a team as a code owner March 21, 2023 16:27
@chemicL chemicL merged commit 7a4378a into main Mar 22, 2023
@chemicL chemicL deleted the propagating-context-write-non-fuseable branch March 22, 2023 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/context This issue is related to the Context type/enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants