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

TCP: make send lock optional

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 5.5.0
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      TcpConnection uses a send_lock that's acquired before calling doSend().

      This is not needed when we have a single sender thread, e.g. as in TransferQueueBundler, PerDestinationBundler etc.

      Therefore allow for optional locking, e.g. to be enabled/disabled by a (single-thread) bundler at initialization time.

      Additionally, field writers would not have to be incremented/decremented in TcpConnection.

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: