filter.h
1.17 KB
-
filter: avoid races during filter registration · 2ed855a9
Previously we would set the global filter registry structure before adding filters to the structure, without a lock, which is quite racy. Now, register default filters during global registration and use an rwlock to read and write the filter registry (as appopriate).
Edward Thomson committed