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

Cocoa client should not schedule streams on main runloop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • Cocoa - Library
    • None
    • Patch Available

    Description

      This happens in TSocketTransport and TSSLSocketTransport.
      It is generally not a good idea to schedule stream event processing on main runloop, and can cause deadlocks.
      Scheduling on current runloop solves the problem.

      Attachments

        1. patch.diff
          2 kB
          Aleksei Shevchenko

        Activity

          People

            skeeet Aleksei Shevchenko
            skeeet Aleksei Shevchenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: