GitHub user franz1981 opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1638

    ARTEMIS-1499 ArtemisExecutor and ProcessorBase needs support of recursive 
blocking executions

    Submitting a CountDownLatch::countDown task and CountDownLatch::await right 
after in the event loop will block ArtemisExecutor.
    This fix provide:
     - a way to validate blocking actions (ie failing flushes on event loop)
     - thread local sequential execution for task submissions while on event 
loop (ie execute).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/franz1981/activemq-artemis 
recursive_ordered_executor

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1638.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1638
    
----
commit ee7c5db9c1f7a72fd29b791dfce4c7fba3b17543
Author: Francesco Nigro <[email protected]>
Date:   2017-11-03T13:40:25Z

    ARTEMIS-1499 ArtemisExecutor and ProcessorBase needs support of recursive 
blocking executions
    
    Submitting a CountDownLatch::countDown task and CountDownLatch::await right 
after in the event loop will block ArtemisExecutor.
    This fix provide:
     - a way to validate blocking actions (ie failing flushes on event loop)
     - thread local sequential execution for task submissions while on event 
loop (ie execute).

----


---

Reply via email to