Adds cross compile and test cases
[junction.git] / junction / striped / ConditionPair.h
1 /*------------------------------------------------------------------------
2   Junction: Concurrent data structures in C++
3   Copyright (c) 2016 Jeff Preshing
4
5   Distributed under the Simplified BSD License.
6   Original location: https://github.com/preshing/junction
7
8   This software is distributed WITHOUT ANY WARRANTY; without even the
9   implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10   See the LICENSE file for more information.
11 ------------------------------------------------------------------------*/
12
13 #ifndef JUNCTION_STRIPED_CONDITIONPAIR_H
14 #define JUNCTION_STRIPED_CONDITIONPAIR_H
15
16 #include <junction/Core.h>
17 #include <turf/Mutex.h>
18 #include <turf/ConditionVariable.h>
19
20 namespace junction {
21 namespace striped {
22
23 struct ConditionPair {
24     turf::Mutex mutex;
25     turf::ConditionVariable condVar;
26 };
27
28 } // namespace striped
29 } // namespace junction
30
31 #endif // JUNCTION_STRIPED_CONDITIONPAIR_H