added more threading locks

This commit is contained in:
itsmattkc
2019-09-11 00:01:42 +10:00
parent 6dc62a8703
commit a38d257800
2 changed files with 13 additions and 2 deletions
+6 -1
View File
@@ -281,10 +281,15 @@ private:
NodeOutput* last_processed_parameter_;
/**
* @brief Used for thread safety
* @brief Used for thread safety from main thread
*/
QMutex lock_;
/**
* @brief Used for thread safety between multiple threads
*/
QMutex run_lock_;
private slots:
void InputChanged(rational start, rational end);