|
cppthread 1.1.16
C++ Thread Library
|
Item with Predicate for Worker FIFO Pool. More...


Go to the source code of this file.
Classes | |
| class | cppthread::item_with_predicate |
| A runner augmentation allowing for worker threads. More... | |
This file defines the base class one can use to have items one can send to a pool of threads for processing. The difference with the default FIFO items, these can include a predicate. The cppthread version uses items as the predicates. So you just have to create all the jobs you want to process as items and then add some of these items as dependencies of other items.
Definition in file item_with_predicate.h.
This document is part of the Snap! Websites Project.
Copyright by Made to Order Software Corp.