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

Posix threads and Thrift collaboration: multithreaded process crashes once Thrift server starts running in it.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Invalid
    • Affects Version/s: 0.1
    • Fix Version/s: 0.1
    • Component/s: C++ - Library
    • Labels:
      None
    • Environment:

      CentOS distribution based TMOS; device

      Description

      I"ve a multithreaded application - the threads are created by means of pthread_create(). Once I"m adding the Thrift server to the program: the process either crashes if Thrift server instantiated and started after the pthreads or (if instantiated in the opposite order) "prevents" from pthreads to start.
      I tried different Thrift server types and instantiation places. Anyway, is it supposed to work and if yes what I miss?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kreidenko@f5.com Valery Kreidenko
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: