Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-133

The field SimpleDaemon.stopping is accessed from multiple threads without synch.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.1
    • 1.0.2
    • None
    • None

    Description

      The field SimpleDaemon.stopping is accessed from multiple threads without synchronisation.

      The field is access from the run() and stop() methods, and should either be made volatile, or should should be accessed from a synchronized block.

      WIthout such synch, the run() method may never see the value set by the stop() method.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: