From: Paul Floyd Date: Fri, 25 Oct 2024 21:25:26 +0000 (+0200) Subject: FreeBSD Helgrind: turn off check for locks held on exit for FreeBSD 14.2 X-Git-Tag: VALGRIND_3_24_0~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=323f609f26cd63d234a45b8571b6862dd32fc185;p=thirdparty%2Fvalgrind.git FreeBSD Helgrind: turn off check for locks held on exit for FreeBSD 14.2 thread-safe exit included in FreeBSD 14.2-PRERELEASE --- 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