Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1217

Use evutil_socketpair instead of pipe (Windows port)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.6.1, 0.7
    • 0.7
    • C++ - Library
    • Windows C++ 9.0, 10.0

    • Patch Available

    Description

      As part of an effort to use the Non-Blocking server (using libevent) on Windows, it was necessary to remove the use of "pipe" for the notification mechanism to signal end-of-task. We propose to use evutil_socketpair instead (tested with libevent 2.0.12). Patch included. Please see https://github.com/aubonbeurre/thrift/blob/alex-0.6.1/README.non.blocking.Windows for more details.

      Attachments

        1. evutil_socketpair.txt
          6 kB
          alexandre parenteau
        2. thrift-1217.patchv0.2.txt
          7 kB
          alexandre parenteau

        Activity

          People

            Unassigned Unassigned
            aubonbeurre alexandre parenteau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified