[
https://issues.apache.org/jira/browse/THRIFT-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jake Farrell closed THRIFT-491.
-------------------------------
Resolution: Not A Problem
Fix Version/s: 0.9
Assignee: Jake Farrell
please ask the dev list regarding this issue if you still need help with it
> Ripping raw pthreads out of TFileTransport and associated test issues
> ---------------------------------------------------------------------
>
> Key: THRIFT-491
> URL: https://issues.apache.org/jira/browse/THRIFT-491
> Project: Thrift
> Issue Type: Question
> Components: C++ - Library
> Affects Versions: 0.1
> Environment: Mac OS X 10.5.6
> Reporter: Rush Manbert
> Assignee: Jake Farrell
> Fix For: 0.9
>
>
> The last piece of replacing the pthread-based threading implementation with a
> Boost threads implementation is to replace all of the raw ptherad mutex and
> condition usage in TFileTransport.
> I think the best way to proceed is to define a Condition class, similar to
> the way there is a Mutex class defined, give it a generic API that satisfies
> the demands of TFileTransport, then implement it both ways. You would need to
> construct a Condition object with a Mutex object reference, or probably a
> weak_ptr<Mutex> so we can know that the condition waits are safe. I'll add a
> comment with the API I work out.
> However, my main concern is how to test the new code. It looks like I can use
> stress-test, but iI was hoping that someone who is familiar with the app
> could give me some pointers or a test procedure that exercises the threading
> code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira