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

Use PipeChannels or FdStreams to make worker processes natively async #1783

Closed

Commits on Dec 15, 2020

  1. Create _worker_processes.py

    Make a process cache with similar semantics to thread cache
    
    provide interface to submit sync functions to the process cache
    richardsheridan committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    2fcf89d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2c33843 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    62a28a5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    041370d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0740307 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    440153a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7117c3e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b9f5076 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8e39143 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    52ca536 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    558b58c View commit details
    Browse the repository at this point in the history
  12. mark tests slow

    richardsheridan committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    7369314 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    46fc931 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3247502 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    a4a209a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    2b41da4 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    a8291a9 View commit details
    Browse the repository at this point in the history
  18. clean up imports

    richardsheridan committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    473bf6f View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    3d2d3ed View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    8bcbf78 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    2e57398 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    eea2acb View commit details
    Browse the repository at this point in the history
  23. cleanups

    richardsheridan committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    0c597b8 View commit details
    Browse the repository at this point in the history
  24. Don't join on kill

    It's not actually necessary, I was using it to confirm that the processes died as expected and should have removed it earlier.
    richardsheridan committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    742f412 View commit details
    Browse the repository at this point in the history
  25. Don't double-check life of cached worker process

    No longer necessary after introduction of _prune_expired_procs
    richardsheridan committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    92a6a80 View commit details
    Browse the repository at this point in the history
  26. eliminate worker timeout race

    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
    richardsheridan committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    4c2b770 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    a72cdd8 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    f074ef8 View commit details
    Browse the repository at this point in the history
  29. remove redundant test

    was same as third case of test_run_in_worker_process_cancellation, but flakier
    richardsheridan committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    0f59d9d View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    69fe295 View commit details
    Browse the repository at this point in the history
  31. relative imports

    richardsheridan committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    33a4c4d View commit details
    Browse the repository at this point in the history
  32. child monitor task is apparently unnecessary

    also avoids extra thread per process on windows
    richardsheridan committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    3dc7e06 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    6b29e15 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    e560eca View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    8abac5b View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    d42b9a5 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    e9040d6 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    076cdf8 View commit details
    Browse the repository at this point in the history
  39. boost coverage

    richardsheridan committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    e0685f6 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    e9b204d View commit details
    Browse the repository at this point in the history
  41. more coverage

    richardsheridan committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    29e6221 View commit details
    Browse the repository at this point in the history
  42. ensure death on pop

    richardsheridan committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    9a2f094 View commit details
    Browse the repository at this point in the history
  43. expose API

    richardsheridan committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    1397e9a View commit details
    Browse the repository at this point in the history
  44. Docs and newsfragment

    richardsheridan committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    07c20be View commit details
    Browse the repository at this point in the history
  45. Expose new error

    richardsheridan committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    bed71fe View commit details
    Browse the repository at this point in the history
  46. fix docstring warning

    richardsheridan committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    bb464ff View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    9260def View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2020

  1. Configuration menu
    Copy the full SHA
    4253762 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9bd34b View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2020

  1. Configuration menu
    Copy the full SHA
    f7f2eb7 View commit details
    Browse the repository at this point in the history
  2. move comment

    richardsheridan committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    f6b9187 View commit details
    Browse the repository at this point in the history
  3. base synchronization purely on pipe behavior

    TODO: close race condition between timeout and is_alive()==False
    richardsheridan committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    91280a3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1195190 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8cf7610 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e4801ba View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a139b1a View commit details
    Browse the repository at this point in the history
  8. improve coverage

    richardsheridan committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    f9fc4e1 View commit details
    Browse the repository at this point in the history
  9. more coverage

    richardsheridan committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    41e3965 View commit details
    Browse the repository at this point in the history
  10. style and comments

    richardsheridan committed Dec 18, 2020
    Configuration menu
    Copy the full SHA
    90ae32f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a839bca View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5e7c3ff View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    fd4cd8c View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    e303c23 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    4ba5c30 View commit details
    Browse the repository at this point in the history