Skip to content
Snippets Groups Projects
Forked from Knot projects / Knot DNS
Source project has a limited visibility.
Jan Včelák's avatar
Jan Včelák authored
events: fix the race condition while avoiding a deadlock

Add a conditional variable to wait for an event to finish running within
evsched to avoid race condition (memory deallocating) and a potential
deadlock (with evsched). This solution continues in enabling access to
the evsched heap during event callback execution to avoid possible soft
lockup.
0d2630b6
History
Name Last commit Last update