Move threadlocal_detail::Atfork to its own file