You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "David Reiss (JIRA)" <ji...@apache.org> on 2009/03/15 00:36:50 UTC

[jira] Resolved: (THRIFT-351) ThreadedServer lacks of options for thread factory

     [ https://issues.apache.org/jira/browse/THRIFT-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Reiss resolved THRIFT-351.
--------------------------------

    Resolution: Fixed
      Assignee: Alexander Shigin

> ThreadedServer lacks of options for thread factory
> --------------------------------------------------
>
>                 Key: THRIFT-351
>                 URL: https://issues.apache.org/jira/browse/THRIFT-351
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Library (C++)
>            Reporter: Alexander Shigin
>            Assignee: Alexander Shigin
>            Priority: Trivial
>         Attachments: patch-threaded-factory.diff
>
>
> There is no way to customize thread in TThreadedServer. My problem was: in freebsd 7 user process can use OTHER is the only policy for threads. But default police of thrift threads is round robin, so you have to patch thrift source or make a subclass of threaded server.
> The patch would be usefull if someone wants to change priority of threads or stack size.

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