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

NioConnection.Reader thread can miss stop request

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: