aboutsummaryrefslogtreecommitdiff
path: root/lib/cookie.c
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2020-04-02 18:41:11 +0200
committerMarc Hoersken <info@marc-hoersken.de>2020-04-03 12:37:39 +0200
commit9657ecb15b387ce86421af738045ede8a72aab13 (patch)
tree954f5426b86c3f45d15b7a70f0f410c0b9139424 /lib/cookie.c
parent4506607b44ca15e6de0ad87cf205b0dd3c0a784c (diff)
sockfilt: fix race-condition of waiting threads and event handling
Fix race-condition of waiting threads finishing while events are already being processed which lead to invalid or skipped events. Use mutex to check for one event at a time or do post-processing. In addition to mutex-based locking use specific event as signal. Closes #5156
Diffstat (limited to 'lib/cookie.c')
0 files changed, 0 insertions, 0 deletions