[
https://issues.apache.org/jira/browse/DISPATCH-2298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Stitcher resolved DISPATCH-2298.
---------------------------------------
Resolution: Fixed
> Eliminate some unnecessary uses of pn_proactor_set_timeout
> ----------------------------------------------------------
>
> Key: DISPATCH-2298
> URL: https://issues.apache.org/jira/browse/DISPATCH-2298
> Project: Qpid Dispatch
> Issue Type: Improvement
> Reporter: Andrew Stitcher
> Priority: Major
>
> Currently qp_timer_schedule() always calls qd_server_timeout() to wake up the
> timer callback handler even if the handler is already running. This causes
> unnecessary system calls in pn_proactor_set_timeout(). If the
> qp_timer_visit() loop is already running then we are guaranteed that the
> newly scheduled timer will be noticed by the loop without having to wake the
> loop up.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]