mutually exclusive access to global data structures