You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Valery Kreidenko (JIRA)" <ji...@apache.org> on 2010/03/22 12:31:27 UTC

[jira] Created: (THRIFT-741) Posix threads and Thrift collaboration: multithreaded process crashes once Thrift server starts running in it.

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

                 Key: THRIFT-741
                 URL: https://issues.apache.org/jira/browse/THRIFT-741
             Project: Thrift
          Issue Type: Bug
          Components: Library (C++)
    Affects Versions: 0.1
         Environment: CentOS distribution based TMOS; device
            Reporter: Valery Kreidenko
            Priority: Critical


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?


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (THRIFT-741) Posix threads and Thrift collaboration: multithreaded process crashes once Thrift server starts running in it.

Posted by "Valery Kreidenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Valery Kreidenko closed THRIFT-741.
-----------------------------------

    Fix Version/s: 0.1
       Resolution: Invalid

my bad

> Posix threads and Thrift collaboration: multithreaded process crashes once Thrift server starts running in it.
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-741
>                 URL: https://issues.apache.org/jira/browse/THRIFT-741
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (C++)
>    Affects Versions: 0.1
>         Environment: CentOS distribution based TMOS; device
>            Reporter: Valery Kreidenko
>            Priority: Critical
>             Fix For: 0.1
>
>
> 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?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.