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-7.0.0~1705 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c477c45898da7b487bc32a6b919afaa2dcd1821d;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