executor: revise run and shutdown

Instead of a flag use a special marker Command inserted into
the queue.
This commit is contained in:
Michael Davidsaver
2011-02-02 18:47:12 -05:00
parent 294684636d
commit 624dff139d
3 changed files with 45 additions and 22 deletions

View File

@@ -2,7 +2,7 @@ threads
basic middle
LinkedList: totalConstruct 5 totalDestruct 5
LinkedListNode: totalConstruct 11 totalDestruct 11
LinkedListNode: totalConstruct 15 totalDestruct 15
event: totalConstruct 8 totalDestruct 8
thread: totalConstruct 2 totalDestruct 2
executor: totalConstruct 2 totalDestruct 2