Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13
    • Labels:
      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.

      1. QPID-3484.patch
        39 kB
        Darryl L. Pierce

        Issue Links

          Activity

          Hide
          Darryl L. Pierce added a comment -

          Provides the PosixEventNotifier type, the implementation details and unit tests.

          Show
          Darryl L. Pierce added a comment - Provides the PosixEventNotifier type, the implementation details and unit tests.

            People

            • Assignee:
              Ted Ross
              Reporter:
              Ted Ross
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development