You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (Jira)" <ji...@apache.org> on 2021/12/13 22:41:00 UTC

[jira] [Created] (DISPATCH-2298) Eliminate some unnecessary uses of pn_proactor_set_timeout

Andrew Stitcher created DISPATCH-2298:
-----------------------------------------

             Summary: 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


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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org