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

simplify AbstractContextManager #250

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Conversation

Christian-B
Copy link
Member

@Christian-B Christian-B commented Oct 12, 2023

AbstractContextManager is used but not as expected.

The only class that overrides _context_entered (SQLiteDB) also overrides exist.
So in SQLiteDB enter and exit are now implemented directly

No class overirdes _context_exception_occurred so this method makes no sense.

Keeping a simplified AbstractContextManager is needed as Spalloc pass these around and there is not better definition / Abstract

Must be done after SpiNNakerManchester/SpiNNFrontEndCommon#1130

related work can be done before or after
SpiNNakerManchester/SpiNNMan#368
SpiNNakerManchester/spalloc#88

@Christian-B Christian-B merged commit 60b1809 into master Oct 13, 2023
7 checks passed
@Christian-B Christian-B deleted the AbstractContextManager branch October 13, 2023 07:04
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