QMF Main-Loop Integration ------------------------- Key: QPID-3484 URL: https://issues.apache.org/jira/browse/QPID-3484 Project: Qpid Issue Type: Improvement Components: Qpid Managment Framework Reporter: Ted Ross Assignee: Ted Ross Priority: Minor Fix For: 0.13
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. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org