d1017895eb
We rely on one variable _dmon.modify_watches shared between thread to ensure that we don't lock with the dmon polling thread waiting indefinitely and helding a lock. To ensure that the polling thread sees modifications done to 'modify_watches' we use an additional mutex that act as a memory barrier. |
||
---|---|---|
.. | ||
dmon.h | ||
dmon_extra.h | ||
meson.build |