Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-406

Race condition for threaded managed lifecycles

    Details

      Description

      There is race condition in the AbstractThreadedManagedLifecycle class between the original thread and the background thread.

      The background thread must wait until the lifecycle state has transitioned out of the STARTING state before continuing. At present the background thread ignores this and attempts to transition into the RUNNING state as soon as it starts.

      This transition could fail resulting in the background thread terminating.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                kconner Kevin Conner
                Reporter:
                kconner Kevin Conner
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: