Pass incoming Commands from SessionThread to main thread via CommandBuffer
Instead of using signals/slots to pass the incoming Commands from SessionThread to main thread where Session or Monitor handle them, we use a CommandBuffer object which is a simple thead-safe queue which will automatically notify the client when there are new commands available and at the same time compresses the signals so that the client is not overwhelmed by "new data" notifications.
parent
ccdfc58c
Please register or sign in to comment