Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3484

QMF Main-Loop Integration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.13
    • QMF
    • None

    Description

      This improvement to the qmf interface in cpp/include/qmf provides an optional event notifier that can be integrated into the application's main loop allowing the application to block on multiple event sources including QMF sessions.

      The solution provides platform-specific classes for use in different platforms. The commit associated with this Jira supports only Posix FDs for integration with main-loops based on select or poll. A future enhancement will provide a Windows notifier based on a HANDLE.

      Prior to this enhancement, applications that block on multiple event sources (i.e. sockets, files, etc.) had two choices for working with qmf sessions: Poll periodically for events, thus introducing high latency in the overall operation; or spin rapidly on the qmf session thus creating high CPU loads.

      Attachments

        1. QPID-3484.patch
          39 kB
          Darryl Pierce

        Issue Links

          Activity

            People

              tross Ted Ross
              tross Ted Ross
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: