[
https://issues.apache.org/jira/browse/DROIDS-67?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769991#action_12769991
]
Thorsten Scherler commented on DROIDS-67:
-----------------------------------------
Committed revision 829755.
> Better control of the finished task
> -----------------------------------
>
> Key: DROIDS-67
> URL: https://issues.apache.org/jira/browse/DROIDS-67
> Project: Droids
> Issue Type: Improvement
> Components: core
> Reporter: Javier Puerto
> Attachments: awaitTermination.patch
>
>
> The interface TaskMaster defines the method:
> void awaitTermination(long timeout, TimeUnit unit) throws
> InterruptedException;
> But the implementation of the MultiThreadedTaskMaster is based on
> ExecutorService and this have the same method returning a boolean value.
> This kind of behaviour is better because in the case of you want to made two
> MultiThread Droid and one is the consumer from the other, you can't control
> if the first finished the work (producer) to run the second (consumer).
> Attached is a patch that solves the problem, is implemented also on
> SequentialTaskMaster.
> Salu2.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.