From 323f609f26cd63d234a45b8571b6862dd32fc185 Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Fri, 25 Oct 2024 23:25:26 +0200 Subject: [PATCH] FreeBSD Helgrind: turn off check for locks held on exit for FreeBSD 14.2 thread-safe exit included in FreeBSD 14.2-PRERELEASE --- helgrind/hg_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helgrind/hg_main.c b/helgrind/hg_main.c index 2d7eea0d7..bbf95c0ba 100644 --- a/helgrind/hg_main.c +++ b/helgrind/hg_main.c @@ -1719,11 +1719,11 @@ void evh__pre_thread_ll_exit ( ThreadId quit_tid ) Bool lock_at_exit = False; #if defined(VGO_freebsd) /* Bugzilla 494337 - * temporary (?): turn off this check on FreeBSD 15+ + * temporary (?): turn off this check on FreeBSD 14.2+ * there is a lock during exit() to make it thread safe * but that lock gets leaked. */ - if (VG_(getosreldate)() > 1500000) { + if (VG_(getosreldate)() > 1401500) { lock_at_exit = True; } #endif -- 2.11.4.GIT