1 ////////////////////////////////////////////////////////////////////////////// 2 // 3 // (C) Copyright Ion Gaztanaga 2004-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 "mutex_test_template.hpp" 12 #include "sharable_mutex_test_template.hpp" 13 #include <boost/interprocess/sync/interprocess_sharable_mutex.hpp> 14 #include <boost/interprocess/sync/scoped_lock.hpp> 15 #include <boost/interprocess/sync/sharable_lock.hpp> 16 #include <boost/date_time/posix_time/posix_time_types.hpp> 17 #include "util.hpp" 18 main()19int main () 20 { 21 using namespace boost::interprocess; 22 23 test::test_all_lock<interprocess_sharable_mutex>(); 24 test::test_all_mutex<interprocess_sharable_mutex>(); 25 test::test_all_sharable_mutex<interprocess_sharable_mutex>(); 26 27 return 0; 28 } 29