code: def _notice_atexit() -> None:
      global _exiting
      _exiting = True
  
imports: import atexit
  import os
  from threading import Lock
  from typing import Any, Callable, Dict, Generic, List, Optional, Type, TypeVar, Union, overload
  from warnings import warn
  from weakref import WeakSet
  from zmq.backend import Context
  from zmq.constants import ContextOption, Errno, SocketOption
  from zmq.error import ZMQError
  from zmq.utils.interop import cast_int_addr
  from .attrsettr import AttributeSetter, OptValT
  from .socket import Socket
label_desc: Use image node_id 1 for calling a global function with example usage: _notice_atexit() without return types