Atomic access in check_globals.