mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-03 15:04:11 +02:00
Start writer thread implementation
This commit is contained in:
@@ -117,8 +117,12 @@ void WriterManager::start(const unordered_map<string, boost::any>& new_parameter
|
||||
cout << output_message.str() << endl;
|
||||
#endif
|
||||
|
||||
uint64_t n_frames = 100;
|
||||
string output_file = "output_file";
|
||||
|
||||
|
||||
writing_flag = true;
|
||||
boost::thread writer_thread(&ProcessManager::write_h5, this, "output_file", 123);
|
||||
boost::thread writer_thread(&ProcessManager::write_h5, this, output_file, n_frames);
|
||||
|
||||
//TODO: Sent this event somewhere?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user