Threadworker when implemented in zCFD has a number of potential safety issues which can result in race conditions, incorrect error propagation, deadlocks, and unexplained seg faults.
What improvements can be made to update the library with library with modern CPP best practices, to improve reliability and improve functionality both in running, and in debugging?