|
cppthread 1.1.16
C++ Thread Library
|
Implementation & documentation of the item_with_predicate.h file. More...
#include "cppthread/item_with_predicate.h"#include "cppthread/exception.h"#include "cppthread/guard.h"#include <iostream>
Go to the source code of this file.
The item_with_predicate.h file is a class which we implement and document here.
The class is used to add sets of items in a FIFO of a pool of workers, items which depend on each other. If a dependency is still defined, then the item is skipped (left in the FIFO) until the valid_workload() returns true, which happens once all the dependencies were worked on.
Definition in file item_with_predicate.cpp.
This document is part of the Snap! Websites Project.
Copyright by Made to Order Software Corp.