Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2328

NioConnection.Reader thread can miss stop request

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.0.17
    • 4.0.16
    • None

    Description

      When NioConnection.Reader._run() waits on the CondVar it should avoid waiting if running = false.

      Currently it only avoids waiting if data_available = true, which is also set by NioConnection.Reader.stop(), but which is reset a few lines above.

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei (Inactive)
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: