[Checkins] [zopefoundation/ZODB] dc65b9: Use an event to wait for the thread to start befor...

GitHub noreply at github.com
Sun Oct 14 19:49:21 CEST 2018


  Branch: refs/heads/sunew-failing-test-for-208
  Home:   https://github.com/zopefoundation/ZODB
  Commit: dc65b97e2cbecead3f7f7c1046a852141bc9c008
      https://github.com/zopefoundation/ZODB/commit/dc65b97e2cbecead3f7f7c1046a852141bc9c008
  Author: Jim Fulton <jim at jimfulton.info>
  Date:   2018-10-14 (Sun, 14 Oct 2018)

  Changed paths:
    M src/ZODB/tests/testThreadedShutdown.py

  Log Message:
  -----------
  Use an event to wait for the thread to start before shutting down.

Also, use a daemonic thread so that the test runner doesn't hand
waiting for the thread to die.


  Commit: b6ac40f153f246a912162158013196871c4ad8a2
      https://github.com/zopefoundation/ZODB/commit/b6ac40f153f246a912162158013196871c4ad8a2
  Author: Jim Fulton <jim at jimfulton.info>
  Date:   2018-10-14 (Sun, 14 Oct 2018)

  Changed paths:
    M src/ZODB/Connection.py

  Log Message:
  -----------
  Uses an unwrapped transaction manager

Use the regular transaction manager wrapped by the thread-transaction
manager so we can call unregisterSynch when close is called from
another thread, typically during database shutdown.


Compare: https://github.com/zopefoundation/ZODB/compare/5a760e88d936...b6ac40f153f2
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list