Don't wait forever to acquire the send lock
This commit is contained in:
@ -231,7 +231,7 @@ struct Machine
|
||||
|
||||
/* Mutex to prevent multiple threads from sending data to the
|
||||
same machine (which would be inefficient). */
|
||||
std::mutex sendLock;
|
||||
std::timed_mutex sendLock;
|
||||
};
|
||||
|
||||
State::ptr state;
|
||||
|
Reference in New Issue
Block a user