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

          Activity

          Hide
          kconner Kevin Conner added a comment -

          Fixed in revision 9348

          Show
          kconner Kevin Conner added a comment - Fixed in revision 9348

            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:

                Development