use THREAD_GUARD for g_location_proxy_map_lock