mcipc
mcipc copied to clipboard
add global lock to Client run
For discussion.
This fixes the issue of multiple threads in a process getting the wrong responses from Client.run(). It provides a global lock to make sure all send receive operations are atomic.
See problem description here: https://github.com/conqp/rcon/issues/13
It does not fix multiple processes talking to the same RCON - these will still experience cross talk.