mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-02 11:34:13 +02:00
Remove zmq context from thread parameter
This commit is contained in:
@@ -24,7 +24,7 @@ public:
|
||||
virtual ~LiveRecvModule();
|
||||
void* connect_socket(size_t module_id);
|
||||
void recv_single_module(void* socket, ModuleFrame* metadata, char* data);
|
||||
void receive_thread(const size_t n_modules, void* ctx);
|
||||
void receive_thread(const size_t n_modules);
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -28,9 +28,7 @@ LiveRecvModule::LiveRecvModule(
|
||||
#endif
|
||||
|
||||
receiving_thread_ = thread(
|
||||
&LiveRecvModule::receive_thread, this,
|
||||
n_modules,
|
||||
ctx_);
|
||||
&LiveRecvModule::receive_thread, this, n_modules);
|
||||
}
|
||||
|
||||
LiveRecvModule::~LiveRecvModule()
|
||||
@@ -98,7 +96,7 @@ void LiveRecvModule::recv_single_module(
|
||||
}
|
||||
}
|
||||
|
||||
void LiveRecvModule::receive_thread(const size_t n_modules, void* ctx_)
|
||||
void LiveRecvModule::receive_thread(const size_t n_modules)
|
||||
{
|
||||
try {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user