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

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Fri Apr 11 2008 - 08:11:52 EDT

  • Next message: Andrus Adamchik (JIRA): "[jira] Closed: (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.
    



    This archive was generated by hypermail 2.0.0 : Fri Apr 11 2008 - 08:14:46 EDT