bpo-16500: Use register_at_fork() in the threading module (#1843)

* bpo-16500: Use register_at_fork() in the threading module

* Update comment at top of _after_fork()
2 files changed