From: Eric Bollengier Date: Thu, 24 Jun 2010 12:14:44 +0000 (+0200) Subject: Add USE_LOCKMGR_SAFEKILL in version.h X-Git-Tag: Release-5.2.1~1240 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d8ea4281af0fa3bbac3d13d7a3d084e8c14ab8ae;p=bacula%2Fbacula Add USE_LOCKMGR_SAFEKILL in version.h --- 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