__register_atfork
implements
pthread_atfork
as specified in ISO POSIX (2003).
The additional parameter __dso_handle allows a shared
object to pass in it's handle so that functions registered by
__register_atfork
can be unregistered by the runtime when
the shared object is unloaded.