Fix potential deadlokc during arena_reset.

This commit is contained in:
guangli-dai 2026-07-23 15:48:14 -07:00 committed by Guangli Dai
parent 262f08301a
commit 6957341f19
2 changed files with 10 additions and 8 deletions

View file

@ -16,7 +16,7 @@
typedef enum {
background_thread_stopped,
background_thread_started,
/* Thread waits on the global lock when paused (for arena_reset). */
/* Thread waits on its condition variable when paused (arena_reset). */
background_thread_paused,
} background_thread_state_t;