Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not use usleep between signals resend if ThreadSanitizer
Issue #236 (bdwgc). For a reason, usleep() hangs trying to acquire some TSan lock when called resend_lost_signals(). * pthread_stop_world.c [!GC_OPENBSD_UTHREADS && THREAD_SANITIZER] (GC_usleep): Use sched_yield() in a loop instead of usleep() or nanosleep(); update comment.
- Loading branch information