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

update doc on multiple async_execute behavior #277

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

tanmaykm
Copy link
Contributor

From what it appears, the order of execution when multiple async_execute operations are invoked with the same Connection is probably not guaranteed. It relies on the task schedule and locking behavior here.

It probably needs non trivial changes to guarantee an order there. Until then it will be good to update the docs with this fact.

From what it appears, the order of execution when multiple `async_execute` operations are invoked with the same `Connection` is probably not guaranteed. It relies on the task schedule and locking behavior [here](https://github.com/iamed2/LibPQ.jl/blob/2c0547daef005e160aa60cb529d4969a670befbc/src/asyncresults.jl#L270).

It probably needs non trivial changes to guarantee an order there. Until then it will be good to update the docs with this fact.
@tanmaykm
Copy link
Contributor Author

I realized it will be good to add some context regarding this PR, and some premise that led to this PR. Added this issue: #278.

@iamed2 iamed2 merged commit e39283e into iamed2:master Aug 18, 2023
12 of 13 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.

None yet

2 participants