Skip to content
  • Daniel Vrátil's avatar
    Pass incoming Commands from SessionThread to main thread via CommandBuffer · 86c83fa5
    Daniel Vrátil authored
    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.
    86c83fa5