mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Add methods to set timeout on blocking Send/Receive
This commit is contained in:
@@ -77,7 +77,7 @@ void FairMQDevice::SignalHandler(int signal)
|
||||
Shutdown();
|
||||
fTerminateStateThread.join();
|
||||
|
||||
MQLOG(INFO) << "Exiting.";
|
||||
LOG(INFO) << "Exiting.";
|
||||
stop();
|
||||
// std::abort();
|
||||
exit(EXIT_FAILURE);
|
||||
@@ -558,8 +558,8 @@ void FairMQDevice::LogSocketRates()
|
||||
|
||||
void FairMQDevice::InteractiveStateLoop()
|
||||
{
|
||||
char c; // hold the user console input
|
||||
bool running = true;
|
||||
char c; // hold the user console input
|
||||
|
||||
struct termios t;
|
||||
tcgetattr(STDIN_FILENO, &t); // get the current terminal I/O structure
|
||||
|
Reference in New Issue
Block a user