You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org> on 2008/04/11 14:11:52 UTC

[jira] Created: (CAY-1027) Orderly EventManager shutdown

Orderly EventManager shutdown
-----------------------------

                 Key: CAY-1027
                 URL: https://issues.apache.org/cayenne/browse/CAY-1027
             Project: Cayenne
          Issue Type: Improvement
          Components: Cayenne Core Library
    Affects Versions: 3.0
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik
            Priority: Minor
             Fix For: 3.0


Currently EventManager.shutdown() sets a stopped flag, and then lets the threads to wake up at some later moment and pick it up... so the threads are still running for some time after shutdown. Improve this by calling "interrupt" immediately on each thread.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (CAY-1027) Orderly EventManager shutdown

Posted by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org>.
     [ https://issues.apache.org/cayenne/browse/CAY-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik closed CAY-1027.
--------------------------------

    Resolution: Fixed

> Orderly EventManager shutdown
> -----------------------------
>
>                 Key: CAY-1027
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1027
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Cayenne Core Library
>    Affects Versions: 3.0
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>            Priority: Minor
>             Fix For: 3.0
>
>
> Currently EventManager.shutdown() sets a stopped flag, and then lets the threads to wake up at some later moment and pick it up... so the threads are still running for some time after shutdown. Improve this by calling "interrupt" immediately on each thread.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.