mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
9af56e1852105512787d84b24fd80c3b6995203f
tuxtxt_cache_lock does not prevent from calling tuxtxt_clear_cache while the cache thread is in the middle of inserting pages, thus leading to a hard-to-reproduce crash when trying to start up tuxtxt. The simplest fix is to use an additional "big hammer" lock arond the whole critical area. Since tuxtxt_clear_cache is only called very seldom, there should be no lock contention problem.
The file is empty.
Description
Languages
C++
85.3%
C
12.3%
M4
0.6%
Makefile
0.6%
JavaScript
0.4%
Other
0.7%