"""
Maintains the global state in a singleton design pattern.

"""

import threading

from inspector.networking import ARPCache


# Should be held whenever accessing the global state's variables.
global_state_lock = threading.Lock()

# Maps IP addresses to MAC addresses
arp_cache: ARPCache | None = None
