| 1 | ////////////////////////////////////////////////////////////////////////////// |
|---|---|
| 2 | // |
| 3 | // (C) Copyright Ion Gaztanaga 2007-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 | #include "node_pool_test.hpp" |
| 11 | #include <boost/interprocess/allocators/detail/node_pool.hpp> |
| 12 | |
| 13 | using namespace boost::interprocess; |
| 14 | |
| 15 | typedef managed_shared_memory::segment_manager segment_manager_t; |
| 16 | |
| 17 | int main () |
| 18 | { |
| 19 | typedef ipcdetail::private_node_pool |
| 20 | <segment_manager_t, 4, 64> node_pool_t; |
| 21 | |
| 22 | if(!test::test_all_node_pool<node_pool_t>()) |
| 23 | return 1; |
| 24 | |
| 25 | return 0; |
| 26 | } |
| 27 |
