-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
Use PipeChannels or FdStreams to make worker processes natively async #1783
Closed
richardsheridan
wants to merge
64
commits into
python-trio:master
from
richardsheridan:async_workers
Closed
Use PipeChannels or FdStreams to make worker processes natively async #1783
richardsheridan
wants to merge
64
commits into
python-trio:master
from
richardsheridan:async_workers
Commits on Dec 15, 2020
-
Make a process cache with similar semantics to thread cache provide interface to submit sync functions to the process cache
Configuration menu - View commit details
-
Copy full SHA for 2fcf89d - Browse repository at this point
Copy the full SHA 2fcf89dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c33843 - Browse repository at this point
Copy the full SHA 2c33843View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62a28a5 - Browse repository at this point
Copy the full SHA 62a28a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 041370d - Browse repository at this point
Copy the full SHA 041370dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0740307 - Browse repository at this point
Copy the full SHA 0740307View commit details -
Configuration menu - View commit details
-
Copy full SHA for 440153a - Browse repository at this point
Copy the full SHA 440153aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7117c3e - Browse repository at this point
Copy the full SHA 7117c3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9f5076 - Browse repository at this point
Copy the full SHA b9f5076View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e39143 - Browse repository at this point
Copy the full SHA 8e39143View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52ca536 - Browse repository at this point
Copy the full SHA 52ca536View commit details -
Configuration menu - View commit details
-
Copy full SHA for 558b58c - Browse repository at this point
Copy the full SHA 558b58cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7369314 - Browse repository at this point
Copy the full SHA 7369314View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46fc931 - Browse repository at this point
Copy the full SHA 46fc931View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3247502 - Browse repository at this point
Copy the full SHA 3247502View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4a209a - Browse repository at this point
Copy the full SHA a4a209aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b41da4 - Browse repository at this point
Copy the full SHA 2b41da4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8291a9 - Browse repository at this point
Copy the full SHA a8291a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 473bf6f - Browse repository at this point
Copy the full SHA 473bf6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d2d3ed - Browse repository at this point
Copy the full SHA 3d2d3edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bcbf78 - Browse repository at this point
Copy the full SHA 8bcbf78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e57398 - Browse repository at this point
Copy the full SHA 2e57398View commit details -
Configuration menu - View commit details
-
Copy full SHA for eea2acb - Browse repository at this point
Copy the full SHA eea2acbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c597b8 - Browse repository at this point
Copy the full SHA 0c597b8View commit details -
It's not actually necessary, I was using it to confirm that the processes died as expected and should have removed it earlier.
Configuration menu - View commit details
-
Copy full SHA for 742f412 - Browse repository at this point
Copy the full SHA 742f412View commit details -
Don't double-check life of cached worker process
No longer necessary after introduction of _prune_expired_procs
Configuration menu - View commit details
-
Copy full SHA for 92a6a80 - Browse repository at this point
Copy the full SHA 92a6a80View commit details -
there was always a chance of having the worker timeout while going from _prune_expired_procs() to release(). Barrier provides the additional extra shared state to fully synchronize a process release
Configuration menu - View commit details
-
Copy full SHA for 4c2b770 - Browse repository at this point
Copy the full SHA 4c2b770View commit details -
Configuration menu - View commit details
-
Copy full SHA for a72cdd8 - Browse repository at this point
Copy the full SHA a72cdd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f074ef8 - Browse repository at this point
Copy the full SHA f074ef8View commit details -
was same as third case of test_run_in_worker_process_cancellation, but flakier
Configuration menu - View commit details
-
Copy full SHA for 0f59d9d - Browse repository at this point
Copy the full SHA 0f59d9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69fe295 - Browse repository at this point
Copy the full SHA 69fe295View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33a4c4d - Browse repository at this point
Copy the full SHA 33a4c4dView commit details -
child monitor task is apparently unnecessary
also avoids extra thread per process on windows
Configuration menu - View commit details
-
Copy full SHA for 3dc7e06 - Browse repository at this point
Copy the full SHA 3dc7e06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b29e15 - Browse repository at this point
Copy the full SHA 6b29e15View commit details -
Configuration menu - View commit details
-
Copy full SHA for e560eca - Browse repository at this point
Copy the full SHA e560ecaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8abac5b - Browse repository at this point
Copy the full SHA 8abac5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d42b9a5 - Browse repository at this point
Copy the full SHA d42b9a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9040d6 - Browse repository at this point
Copy the full SHA e9040d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 076cdf8 - Browse repository at this point
Copy the full SHA 076cdf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0685f6 - Browse repository at this point
Copy the full SHA e0685f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9b204d - Browse repository at this point
Copy the full SHA e9b204dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29e6221 - Browse repository at this point
Copy the full SHA 29e6221View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a2f094 - Browse repository at this point
Copy the full SHA 9a2f094View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1397e9a - Browse repository at this point
Copy the full SHA 1397e9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07c20be - Browse repository at this point
Copy the full SHA 07c20beView commit details -
Configuration menu - View commit details
-
Copy full SHA for bed71fe - Browse repository at this point
Copy the full SHA bed71feView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb464ff - Browse repository at this point
Copy the full SHA bb464ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9260def - Browse repository at this point
Copy the full SHA 9260defView commit details
Commits on Dec 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4253762 - Browse repository at this point
Copy the full SHA 4253762View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9bd34b - Browse repository at this point
Copy the full SHA e9bd34bView commit details
Commits on Dec 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f7f2eb7 - Browse repository at this point
Copy the full SHA f7f2eb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6b9187 - Browse repository at this point
Copy the full SHA f6b9187View commit details -
base synchronization purely on pipe behavior
TODO: close race condition between timeout and is_alive()==False
Configuration menu - View commit details
-
Copy full SHA for 91280a3 - Browse repository at this point
Copy the full SHA 91280a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1195190 - Browse repository at this point
Copy the full SHA 1195190View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8cf7610 - Browse repository at this point
Copy the full SHA 8cf7610View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4801ba - Browse repository at this point
Copy the full SHA e4801baView commit details -
Configuration menu - View commit details
-
Copy full SHA for a139b1a - Browse repository at this point
Copy the full SHA a139b1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9fc4e1 - Browse repository at this point
Copy the full SHA f9fc4e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41e3965 - Browse repository at this point
Copy the full SHA 41e3965View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90ae32f - Browse repository at this point
Copy the full SHA 90ae32fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a839bca - Browse repository at this point
Copy the full SHA a839bcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e7c3ff - Browse repository at this point
Copy the full SHA 5e7c3ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd4cd8c - Browse repository at this point
Copy the full SHA fd4cd8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e303c23 - Browse repository at this point
Copy the full SHA e303c23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ba5c30 - Browse repository at this point
Copy the full SHA 4ba5c30View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.