DescriptionRefactored thread pool
The thread pool has been refactored to hold all implementation state
in the ThreadPool class and have all internal state protected by a
single monitor.
Added support for starting and stopping the same pool several
times. When stopping the queue can be drained or not.
Added two tests which handles messages.
This change is based on https://chromiumcodereview.appspot.com/9141005/.
R=iposva@google.com, ager@google.com
BUG=
TEST=
Committed: https://code.google.com/p/dart/source/detail?r=4181
Patch Set 1 #
Total comments: 14
Patch Set 2 : Addressed review comments from ager@ #
Total comments: 6
Patch Set 3 : Addressed more review comments from ager@ #Patch Set 4 : Added timeout to thread pool termination #Patch Set 5 : Rebased to r4180 #
Messages
Total messages: 5 (0 generated)
|