1//////////////////////////////////////////////////////////////////////////////
2//
3// (C) Copyright Ion Gaztanaga 2006-2012. Distributed under the Boost
4// Software License, Version 1.0. (See accompanying file
5// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6//
7// See http://www.boost.org/libs/interprocess for documentation.
8//
9//////////////////////////////////////////////////////////////////////////////
10
11#include <boost/interprocess/detail/workaround.hpp>
12#include "condition_test_template.hpp"
13
14#include <boost/interprocess/sync/spin/condition.hpp>
15#include <boost/interprocess/sync/spin/semaphore.hpp>
16
17using namespace boost::interprocess;
18
19int main ()
20{
21 if(!test::do_test_condition<ipcdetail::spin_condition, ipcdetail::spin_mutex>())
22 return 1;
23
24 return 0;
25}
26

source code of boost/libs/interprocess/test/spin_condition_test.cpp