Another fix for the neverending hung application bugs:

- Clear up DemodulatorInstance garbage collection, only do it in a single thread (AppFrame::OnIdle)
- Add a specific mutex lock for the list of deleted demodulators,
- Add a specific lock to control DemodulatorInstance thread lifetimes, protecting IsTerminated() of concurrent join and delete
This commit is contained in:
vsonnier
2017-05-24 18:55:37 +02:00
parent 4b323e9863
commit 77a82e1617
8 changed files with 33 additions and 21 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ protected:
if (inp) {
OutputDataTypePtr outp = buffers.getBuffer();
//'deep copy of the contents
//'deep copy' of the contents
(*outp) = (*inp);
VisualProcessor<OutputDataType, OutputDataType>::distribute(outp);