]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Turn off TSAN for isc_log_wouldlog
authorMark Andrews <marka@isc.org>
Mon, 31 Aug 2020 12:41:46 +0000 (22:41 +1000)
committerMark Andrews <marka@isc.org>
Tue, 8 Sep 2020 07:41:33 +0000 (17:41 +1000)
lib/isc/log.c

index 7ab4d3501f6fd34edeb9ae883497b66134e0e110..3e1235d0c74bd2db5ffe1d36478b75bcdc398410 100644 (file)
@@ -1360,7 +1360,7 @@ isc_log_open(isc_logchannel_t *channel) {
        return (result);
 }
 
-bool
+ISC_NO_SANITIZE_THREAD bool
 isc_log_wouldlog(isc_log_t *lctx, int level) {
        /*
         * Try to avoid locking the mutex for messages which can't