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

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Invalid
    • 0.1
    • 0.1
    • C++ - Library
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: