mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 15:20:02 +02:00
const qualifying
This commit is contained in:
parent
b44039361d
commit
058de39d40
@ -3823,7 +3823,7 @@ void multiSlsDetector::processData() {
|
||||
}
|
||||
|
||||
|
||||
bool multiSlsDetector::getJoinThreadFlag() {
|
||||
bool multiSlsDetector::getJoinThreadFlag() const {
|
||||
std::lock_guard<std::mutex> lock(mp);
|
||||
return jointhread;
|
||||
}
|
||||
|
@ -1666,7 +1666,7 @@ private:
|
||||
* Check if processing thread is ready to join main thread
|
||||
* @returns true if ready, else false
|
||||
*/
|
||||
bool getJoinThreadFlag();
|
||||
bool getJoinThreadFlag() const;
|
||||
|
||||
/**
|
||||
* Main thread sets if the processing thread should join it
|
||||
@ -1713,10 +1713,10 @@ private:
|
||||
int progressIndex;
|
||||
|
||||
/** mutex to synchronize main and data processing threads */
|
||||
std::mutex mp;
|
||||
mutable std::mutex mp;
|
||||
|
||||
/** mutex to synchronizedata processing and plotting threads */
|
||||
std::mutex mg;
|
||||
mutable std::mutex mg;
|
||||
|
||||
/** sets when the acquisition is finished */
|
||||
bool jointhread;
|
||||
|
Loading…
x
Reference in New Issue
Block a user