Commit f183416a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Flexelint (neuter thread/lock diags centrally)

parent 95b8eccd
...@@ -55,10 +55,6 @@ ...@@ -55,10 +55,6 @@
//-sem (pthread_mutex_lock, thread_lock) //-sem (pthread_mutex_lock, thread_lock)
-sem (pthread_mutex_trylock, thread_lock) -sem (pthread_mutex_trylock, thread_lock)
-sem (VBE_DropRefLocked, thread_unlock) -sem (VBE_DropRefLocked, thread_unlock)
-e454 // mutex not released (...ReleaseLocked)
-e457 // unprotected access
-esym(458, params) // unlocked access
-emacro(835, HCB_BIT_NODE) // Info 835: A zero has been given as left argument to operator '<<' -emacro(835, HCB_BIT_NODE) // Info 835: A zero has been given as left argument to operator '<<'
-emacro(835, VBC_STATE_AVAIL) // Info 835: A zero has been given as left argument to operator '<<' -emacro(835, VBC_STATE_AVAIL) // Info 835: A zero has been given as left argument to operator '<<'
...@@ -80,8 +76,6 @@ ...@@ -80,8 +76,6 @@
-efile(451, "symbol_kind.h") // No include guard -efile(451, "symbol_kind.h") // No include guard
-efile(451, "config.h") // No include guard -efile(451, "config.h") // No include guard
////////////// //////////////
// -e458 // unprotected access
// -e456 // merged locking paths
-sem(vca_thread_acct, thread_mono) -sem(vca_thread_acct, thread_mono)
-sem(vca_epoll_thread, thread_mono) -sem(vca_epoll_thread, thread_mono)
-sem(vca_kqueue_thread, thread_mono) -sem(vca_kqueue_thread, thread_mono)
...@@ -90,8 +84,6 @@ ...@@ -90,8 +84,6 @@
-sem(exp_timer, thread_mono) -sem(exp_timer, thread_mono)
-sem(wrk_herdtimer_thread, thread_mono) -sem(wrk_herdtimer_thread, thread_mono)
-sem(wrk_herder_thread, thread_mono) -sem(wrk_herder_thread, thread_mono)
-esym(458, heritage)
-esym(458, name_key)
////////////// //////////////
// 436 = Apparent preprocessor directive in invocation of macro '___' // 436 = Apparent preprocessor directive in invocation of macro '___'
...@@ -113,8 +105,6 @@ ...@@ -113,8 +105,6 @@
-sem(vdi_dns_cache_list_add, custodial(3)) -sem(vdi_dns_cache_list_add, custodial(3))
-e455 // thread lock
-e458 // unprotected read
-e717 // do ... while(1) ... -e717 // do ... while(1) ...
-e850 // for loop index variable '___' whose type category is '___' -e850 // for loop index variable '___' whose type category is '___'
// is modified in body of the for loop that began at '___' // is modified in body of the for loop that began at '___'
......
...@@ -5,10 +5,6 @@ ...@@ -5,10 +5,6 @@
-efile(451, "varnishlog_options.h") -efile(451, "varnishlog_options.h")
-e457 // unprotected write access
-e459 // unprotected access
-e458 // unprotected access
-e732 // Loss of sign (arg. no. 2) (int to unsigned -e732 // Loss of sign (arg. no. 2) (int to unsigned
-e737 // [45] Loss of sign in promotion from int to unsigned -e737 // [45] Loss of sign in promotion from int to unsigned
-e713 // Loss of precision (assignment) (unsigned long long to long long) -e713 // Loss of precision (assignment) (unsigned long long to long long)
......
...@@ -10,10 +10,6 @@ ...@@ -10,10 +10,6 @@
-e763 // Redundant declaration for symbol '...' previously declared -e763 // Redundant declaration for symbol '...' previously declared
-e457 // unprotected write access
-e459 // unprotected access
-e458 // unprotected access
-e732 // Loss of sign (arg. no. 2) (int to unsigned -e732 // Loss of sign (arg. no. 2) (int to unsigned
-e737 // [45] Loss of sign in promotion from int to unsigned -e737 // [45] Loss of sign in promotion from int to unsigned
-e713 // Loss of precision (assignment) (unsigned long long to long long) -e713 // Loss of precision (assignment) (unsigned long long to long long)
......
...@@ -21,9 +21,6 @@ ...@@ -21,9 +21,6 @@
-e763 // Redundant declaration for symbol '...' previously declared -e763 // Redundant declaration for symbol '...' previously declared
-e457 // unprotected write access
-e459 // unprotected access
-e458 // unprotected access
// //
-e732 // Loss of sign (arg. no. 2) (int to unsigned -e732 // Loss of sign (arg. no. 2) (int to unsigned
-e737 // [45] Loss of sign in promotion from int to unsigned -e737 // [45] Loss of sign in promotion from int to unsigned
......
...@@ -4,10 +4,6 @@ ...@@ -4,10 +4,6 @@
-e763 // Redundant declaration for symbol '...' previously declared -e763 // Redundant declaration for symbol '...' previously declared
-e457 // unprotected write access
-e459 // unprotected access
-e458 // unprotected access
-e732 // Loss of sign (arg. no. 2) (int to unsigned -e732 // Loss of sign (arg. no. 2) (int to unsigned
-e737 // [45] Loss of sign in promotion from int to unsigned -e737 // [45] Loss of sign in promotion from int to unsigned
-e713 // Loss of precision (assignment) (unsigned long long to long long) -e713 // Loss of precision (assignment) (unsigned long long to long long)
......
...@@ -16,6 +16,15 @@ ...@@ -16,6 +16,15 @@
+libh(../../config.h) +libh(../../config.h)
///////////////////////////////////////////////////////////////////////
// Thread/locking, too many false positives still
-e454 // A thread mutex has been locked but not unlocked___
-e455 // A thread mutex that had not been locked is being unlocked
-e456 // Two execution paths are being combined with different mutex lock states
-e457 // unprotected write access
-e458 // unprotected access
-e459 // unprotected access
/////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////
// General stylistic issues // General stylistic issues
-e641 // Converting enum '...' to int -e641 // Converting enum '...' to int
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment