troutkilroy opened a new pull request #12: URL: https://github.com/apache/activemq-nms-openwire/pull/12
While the .NET Apache library is compiled to use DedicatedTaskRunner, we prefer to compile from source and enable PooledTaskRunner (as set in TaskRunnerFactory.cs). However PooledTaskRunner.cs has an obvious issue with shutdown() as it will block on an infinite sleep if the task is busy (i.e., iterating == true). Not sure what was the intent of the sleep() calls, but the Java version of this code we believe is correct with event notification to control shutdown of the task. This change basically brings the C# implementation in line with that using Monitor (similar to what was done with the C# implementation of DedicatedTaskRunner). ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
