Searched refs:bg_thread (Results 1 – 1 of 1) sorted by relevance
759 static atomic_uint32_t bg_thread = {}; in MaybeSpawnBackgroundThread() local760 if (atomic_load(&bg_thread, memory_order_relaxed) == 0 && in MaybeSpawnBackgroundThread()761 atomic_exchange(&bg_thread, 1, memory_order_relaxed) == 0) { in MaybeSpawnBackgroundThread()