Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-125

Driver dies unnecessarily when poll returns error EINTR

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.2
    • proton-0.3
    • proton-c
    • None

    Description

      If a program that uses proton-c receives a signal (SIGHUP, etc.), it will intermittently exit with a "System Call Interrupted" (EINTR) error.

      The DIE_IFE macro that wraps the call to "poll" in the driver needs to handle this error to avoid unnecessary process exits.

      Attachments

        1. PROTON-125.patch
          2 kB
          Ted Ross

        Activity

          People

            tross Ted Ross
            tross Ted Ross
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: