[
https://issues.apache.org/jira/browse/PROTON-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Stitcher resolved PROTON-1847.
-------------------------------------
Resolution: Fixed
> container:schedule used from an external thread can stop container::run loop
> processing other events
> ----------------------------------------------------------------------------------------------------
>
> Key: PROTON-1847
> URL: https://issues.apache.org/jira/browse/PROTON-1847
> Project: Qpid Proton
> Issue Type: Bug
> Components: cpp-binding
> Reporter: Andrew Stitcher
> Assignee: Andrew Stitcher
> Priority: Major
> Fix For: proton-c-0.23.0
>
>
> There are 2 potential problems:
> # The code that runs the scheduled tasks still accepts new tasks at the same
> time. So if you keep on scheduling new tasks continuously you could make the
> scheduler run tasks continuously without ever leaving to process any other
> events.
> # The code that accepts timeout events will keep on reading the same event
> batch until it is empty. So in this case too new tasks could prevent any
> other events being processed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]