mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-02 03:12:24 +02:00
Add is_writing retrieval flag
This commit is contained in:
@@ -211,3 +211,8 @@ void H5WriteModule::write_thread(
|
||||
cout << " Writer thread stopped." << endl;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool H5WriteModule::is_writing()
|
||||
{
|
||||
return is_writing_.load(memory_order_relaxed);
|
||||
}
|
||||
Reference in New Issue
Block a user