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.