code: def register_after_fork(obj, func):
      _afterfork_registry[
          (next(_afterfork_counter), id(obj), func)
      ] = obj
  
imports: import os
  import itertools
  import sys
  import weakref
  import atexit
  import threading
  from subprocess import _args_from_interpreter_flags
  from .None import process
label_desc: Use image node_id 12 for calling a global function with example usage: register_after_fork(obj, func) without return types