You are viewing a plain text version of this content. The canonical link for it is here.
Posted to droids-dev@incubator.apache.org by "Javier Puerto (JIRA)" <ji...@apache.org> on 2010/02/15 17:39:28 UTC

[jira] Updated: (DROIDS-76) Inconsistent awaitTermination between SequentialTaskMaster and MultiThreadedTaskMaster

     [ 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.