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

Javier Puerto updated DROIDS-76:
--------------------------------

    Attachment: SecuentialTaskMaster.patch

I didn't test it but it seems to be a simple condition. I have attached a patch.

> Inconsistent awaitTermination between SequentialTaskMaster and 
> MultiThreadedTaskMaster
> --------------------------------------------------------------------------------------
>
>                 Key: DROIDS-76
>                 URL: https://issues.apache.org/jira/browse/DROIDS-76
>             Project: Droids
>          Issue Type: Bug
>          Components: core
>            Reporter: Richard Frovarp
>            Priority: Minor
>         Attachments: SecuentialTaskMaster.patch
>
>
> awaitTermination with a timeout of 0 has inconsistent behavior between 
> SequentialTaskMaster and MultiThreadedTaskMaster. MultiThreadedTaskmaster 
> times out immediately with zero due to how it uses ThreadPoolExecuter. 
> SequentialTaskMaster has an unlimited timeout with a value of zero. 
> SequentialTaskMaster should probably be the one changed. The example code 
> probably needs to be changed as a result as well.

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

Reply via email to