mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-07 20:52:05 +02:00
Add back exit when writer thread has finished
This commit is contained in:
@@ -81,6 +81,9 @@ void write_h5(WriterManager *manager, RingBuffer *ring_buffer, string output_fil
|
||||
#ifdef DEBUG_OUTPUT
|
||||
cout << "[h5_zmq_writer::write] Writer thread stopped." << endl;
|
||||
#endif
|
||||
|
||||
// Exit when writer thread has finished.
|
||||
exit(0);
|
||||
}
|
||||
|
||||
void receive_zmq(WriterManager *manager, RingBuffer *ring_buffer, string connect_address, int n_io_threads=1, int receive_timeout=-1)
|
||||
|
||||
Reference in New Issue
Block a user