Draft: Introduce synchronisation between witness thread and writer thread
These threads were accessing shared data without synchronisation. A mutex was added to synchronise access.
Closes #666
These threads were accessing shared data without synchronisation. A mutex was added to synchronise access.
Closes #666