You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(thread-safety): eliminate races in log mutex, watcher, and index threads
- http_server: Replace lazy log mutex init (TOCTOU race between threads)
with explicit cbm_ui_log_init() called from main before thread creation
- watcher: Add cbm_mutex_t to protect projects hash table from concurrent
access by main thread (watch/unwatch) and watcher thread (poll_once)
- compat_thread: Add cbm_thread_detach() for POSIX and Windows
- http_server: Detach index job threads to prevent handle leaks
0 commit comments