[ 
http://issues.apache.org/jira/browse/SANDBOX-171?page=comments#action_12435046 
] 
            
Steve Christensen commented on SANDBOX-171:
-------------------------------------------

Found a deadlock in certain situations. This line:

testAndSetState(STARTED, RUNNING);

needs to be moved from the thread's run() methods to the Driver's start() 
method, prior to the call to
startSignal.countDown();



> multi-threaded implemenation of StageDriver
> -------------------------------------------
>
>                 Key: SANDBOX-171
>                 URL: http://issues.apache.org/jira/browse/SANDBOX-171
>             Project: Commons Sandbox
>          Issue Type: New Feature
>          Components: Pipeline
>    Affects Versions: Nightly Builds
>            Reporter: Steve Christensen
>         Assigned To: Kris Nuttycombe
>            Priority: Minor
>         Attachments: ThreadPoolStageDriver.zip
>
>
> Sample implemenation of a multi-threaded StageDriver

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to