From c477c45898da7b487bc32a6b919afaa2dcd1821d Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 24 Jun 2010 14:14:44 +0200 Subject: [PATCH] Add USE_LOCKMGR_SAFEKILL in version.h --- bacula/src/version.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bacula/src/version.h b/bacula/src/version.h index a9f733eda9..b37c4f3e05 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -81,6 +81,14 @@ * deadlock, so turn this on only for debugging. */ #define USE_LOCKMGR_PRIORITY + +/* + * Enable thread verification before kill + * + * Note, this extra check have a high cost when using + * dozens of thread, so turn this only for debugging. + */ +/* #define USE_LOCKMGR_SAFEKILL */ #endif /* DEVELOPER */ #if !HAVE_LINUX_OS && !HAVE_SUN_OS && !HAVE_DARWIN_OS && !HAVE_FREEBSD_OS -- 2.39.5