Skip to content

Improve handling of analysis callbacks#598

Closed
chriseclectic wants to merge 2 commits into
qiskit-community:mainfrom
chriseclectic:fix-callbacks
Closed

Improve handling of analysis callbacks#598
chriseclectic wants to merge 2 commits into
qiskit-community:mainfrom
chriseclectic:fix-callbacks

Conversation

@chriseclectic
Copy link
Copy Markdown
Collaborator

@chriseclectic chriseclectic commented Jan 7, 2022

Summary

This reworks how analysis callbacks are run to use separate Futures for each callback.

This should fix issues #597, #592
Depends on #596

Details and comments

This fixes numerous issues with the previous implementation that added them all as a done_callback of job futures since each future can be monitored separately, and set to wait for any other prerequisite futures to first complete.

@chriseclectic chriseclectic added the Changelog: Bugfix Include in the "Fixed" section of the changelog label Jan 7, 2022
@chriseclectic
Copy link
Copy Markdown
Collaborator Author

Closing to merge with #599 since these two things depend on each other quite closely.

@chriseclectic chriseclectic deleted the fix-callbacks branch March 3, 2022 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: Bugfix Include in the "Fixed" section of the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant