TPIE

11a2c2d
maintain_order_type.h
Go to the documentation of this file.
1 // -*- mode: c++; tab-width: 4; indent-tabs-mode: t; eval: (progn (c-set-style "stroustrup") (c-set-offset 'innamespace 0)); -*-
2 // vi:set ts=4 sts=4 sw=4 noet :
3 // Copyright 2013, The TPIE development team
4 //
5 // This file is part of TPIE.
6 //
7 // TPIE is free software: you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License as published by the
9 // Free Software Foundation, either version 3 of the License, or (at your
10 // option) any later version.
11 //
12 // TPIE is distributed in the hope that it will be useful, but WITHOUT ANY
13 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
15 // License for more details.
16 //
17 // You should have received a copy of the GNU Lesser General Public License
18 // along with TPIE. If not, see <http://www.gnu.org/licenses/>
19 #ifndef __TPIE_PIPELINING_MAINTAIN_ORDER_TYPE_H__
20 #define __TPIE_PIPELINING_MAINTAIN_ORDER_TYPE_H__
21 
25 
26 namespace tpie::pipelining {
27 
32  arbitrary_order = false,
36 };
37 
38 } // namespace tpie::pipelining
39 
40 #endif // __TPIE_PIPELINING_MAINTAIN_ORDER_TYPE_H__
tpie::pipelining
pipelining/factory_base.h Base class of pipelining factories
Definition: ami_glue.h:23
tpie::pipelining::arbitrary_order
@ arbitrary_order
Do not maintain order; push items as soon as a worker has processed them.
Definition: maintain_order_type.h:32
tpie::pipelining::maintain_order
@ maintain_order
Maintain order; push items in the same order that a single thread would have.
Definition: maintain_order_type.h:35
tpie::pipelining::maintain_order_type
maintain_order_type
Type describing whether to maintain the order of items in parallel.
Definition: maintain_order_type.h:29