add AtFork::unregisterHandler
authorDave Watson <davejwatson@fb.com>
Mon, 4 Dec 2017 20:57:07 +0000 (12:57 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 4 Dec 2017 21:08:16 +0000 (13:08 -0800)
commit7acf192db1befc5a54c8a77e2450176fe587fa1f
treec86881bf6965c1c56b611c1246b5b85491b2fd0f
parent9a8218df9c4f07c4390bd039a2605e33ec2eaf47
add AtFork::unregisterHandler

Summary: Adds an AdFork::unregisterHandler command, such that we can register and unregister fork handlers.

Reviewed By: yfeldblum

Differential Revision: D6439796

fbshipit-source-id: b710152f8cf98371c330b484cd5fe42de44e74ac
folly/detail/AtFork.cpp
folly/detail/AtFork.h
folly/detail/ThreadLocalDetail.h
folly/test/AtForkTest.cpp [new file with mode: 0644]