mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Massive but simple changes:
- Removed all tabs - Changed all Doxygen @cond/@endcond tags with preprocessor sections, as Doxygen still has some problems when parsing this code. This also makes unmatched Doxygen sections a compilation error, which is easier to detect.
This commit is contained in:
@@ -72,7 +72,7 @@ int main()
|
||||
std::fstream file(ManagedFile2, std::ios_base::out | std::ios_base::binary);
|
||||
if(!file)
|
||||
throw int(0);
|
||||
file.write(static_cast<const char *>(managed_file_cow.get_address()), (std::streamsize)managed_file_cow.get_size());
|
||||
file.write(static_cast<const char *>(managed_file_cow.get_address()), (std::streamsize)managed_file_cow.get_size());
|
||||
}
|
||||
|
||||
//Now open the modified file and test changes
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
namespace ipcdetail{
|
||||
|
||||
@@ -66,7 +66,7 @@ class adaptive_pool_base
|
||||
typedef adaptive_pool_base
|
||||
<Version, T, SegmentManager, NodesPerBlock, MaxFreeBlocks, OverheadPercent> self_t;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
template <int dummy>
|
||||
struct node_pool
|
||||
@@ -77,7 +77,7 @@ class adaptive_pool_base
|
||||
static type *get(void *p)
|
||||
{ return static_cast<type*>(p); }
|
||||
};
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
BOOST_STATIC_ASSERT((Version <=2));
|
||||
|
||||
@@ -109,14 +109,14 @@ class adaptive_pool_base
|
||||
typedef adaptive_pool_base<Version, T2, SegmentManager, NodesPerBlock, MaxFreeBlocks, OverheadPercent> other;
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
//!Not assignable from related adaptive_pool_base
|
||||
template<unsigned int Version2, class T2, class SegmentManager2, std::size_t N2, std::size_t F2, unsigned char O2>
|
||||
adaptive_pool_base& operator=
|
||||
(const adaptive_pool_base<Version2, T2, SegmentManager2, N2, F2, O2>&);
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructor from a segment manager. If not present, constructs a node
|
||||
@@ -169,10 +169,10 @@ class adaptive_pool_base
|
||||
friend void swap(self_t &alloc1, self_t &alloc2)
|
||||
{ ipcdetail::do_swap(alloc1.mp_node_pool, alloc2.mp_node_pool); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
void_pointer mp_node_pool;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
//!Equality test for same type
|
||||
@@ -228,7 +228,7 @@ class adaptive_pool_v1
|
||||
|
||||
} //namespace ipcdetail{
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!An STL node allocator that uses a segment manager as memory
|
||||
//!source. The internal pointer type will of the same type (raw, smart) as
|
||||
@@ -251,7 +251,7 @@ template < class T
|
||||
, unsigned char OverheadPercent
|
||||
>
|
||||
class adaptive_pool
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
: public ipcdetail::adaptive_pool_base
|
||||
< 2
|
||||
, T
|
||||
@@ -260,7 +260,7 @@ class adaptive_pool
|
||||
, MaxFreeBlocks
|
||||
, OverheadPercent
|
||||
>
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
{
|
||||
|
||||
#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
@@ -57,7 +57,7 @@ class allocator
|
||||
typedef SegmentManager segment_manager;
|
||||
typedef typename SegmentManager::void_pointer void_pointer;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
|
||||
//Self type
|
||||
@@ -85,7 +85,7 @@ class allocator
|
||||
|
||||
//Pointer to the allocator
|
||||
alloc_ptr_t mp_mngr;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
typedef T value_type;
|
||||
@@ -104,12 +104,12 @@ class allocator
|
||||
|
||||
typedef boost::interprocess::version_type<allocator, 2> version;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Experimental. Don't use.
|
||||
typedef boost::container::container_detail::transform_multiallocation_chain
|
||||
<typename SegmentManager::multiallocation_chain, T>multiallocation_chain;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!Obtains an allocator that allocates
|
||||
//!objects of type T2
|
||||
@@ -285,7 +285,7 @@ bool operator!=(const allocator<T, SegmentManager> &alloc1,
|
||||
|
||||
} //namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
template<class T>
|
||||
struct has_trivial_destructor;
|
||||
@@ -296,7 +296,7 @@ struct has_trivial_destructor
|
||||
{
|
||||
static const bool value = true;
|
||||
};
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace boost {
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
namespace ipcdetail {
|
||||
|
||||
@@ -91,7 +91,7 @@ class cached_adaptive_pool_v1
|
||||
|
||||
} //namespace ipcdetail{
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!An STL node allocator that uses a segment manager as memory
|
||||
//!source. The internal pointer type will of the same type (raw, smart) as
|
||||
@@ -117,7 +117,7 @@ template < class T
|
||||
, unsigned char OverheadPercent
|
||||
>
|
||||
class cached_adaptive_pool
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
: public ipcdetail::cached_allocator_impl
|
||||
< T
|
||||
, ipcdetail::shared_adaptive_node_pool
|
||||
@@ -128,7 +128,7 @@ class cached_adaptive_pool
|
||||
, OverheadPercent
|
||||
>
|
||||
, 2>
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
{
|
||||
|
||||
#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
namespace ipcdetail {
|
||||
|
||||
@@ -86,14 +86,14 @@ class cached_node_allocator_v1
|
||||
|
||||
} //namespace ipcdetail{
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
template < class T
|
||||
, class SegmentManager
|
||||
, std::size_t NodesPerBlock
|
||||
>
|
||||
class cached_node_allocator
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
: public ipcdetail::cached_allocator_impl
|
||||
< T
|
||||
, ipcdetail::shared_node_pool
|
||||
@@ -102,7 +102,7 @@ class cached_node_allocator
|
||||
, NodesPerBlock
|
||||
>
|
||||
, 2>
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
{
|
||||
|
||||
#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
@@ -676,9 +676,10 @@ class cached_allocator_impl
|
||||
void deallocate_free_chunks()
|
||||
{ m_cache.get_node_pool()->deallocate_free_blocks(); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
cache_impl<node_pool_t> m_cache;
|
||||
#endif //!defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
};
|
||||
|
||||
//!Equality test for same type of
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
namespace ipcdetail{
|
||||
|
||||
@@ -63,7 +63,7 @@ class node_allocator_base
|
||||
typedef node_allocator_base
|
||||
<Version, T, SegmentManager, NodesPerBlock> self_t;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
template <int dummy>
|
||||
struct node_pool
|
||||
@@ -74,7 +74,7 @@ class node_allocator_base
|
||||
static type *get(void *p)
|
||||
{ return static_cast<type*>(p); }
|
||||
};
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
BOOST_STATIC_ASSERT((Version <=2));
|
||||
|
||||
@@ -106,7 +106,7 @@ class node_allocator_base
|
||||
typedef node_allocator_base<Version, T2, SegmentManager, NodesPerBlock> other;
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
//!Not assignable from related node_allocator_base
|
||||
template<unsigned int Version2, class T2, class SegmentManager2, std::size_t N2>
|
||||
@@ -115,7 +115,7 @@ class node_allocator_base
|
||||
|
||||
//!Not assignable from other node_allocator_base
|
||||
//node_allocator_base& operator=(const node_allocator_base&);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructor from a segment manager. If not present, constructs a node
|
||||
@@ -168,10 +168,10 @@ class node_allocator_base
|
||||
friend void swap(self_t &alloc1, self_t &alloc2)
|
||||
{ ipcdetail::do_swap(alloc1.mp_node_pool, alloc2.mp_node_pool); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
void_pointer mp_node_pool;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
//!Equality test for same type
|
||||
@@ -223,7 +223,7 @@ class node_allocator_v1
|
||||
|
||||
} //namespace ipcdetail{
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!An STL node allocator that uses a segment manager as memory
|
||||
//!source. The internal pointer type will of the same type (raw, smart) as
|
||||
@@ -238,14 +238,14 @@ template < class T
|
||||
, std::size_t NodesPerBlock
|
||||
>
|
||||
class node_allocator
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
: public ipcdetail::node_allocator_base
|
||||
< 2
|
||||
, T
|
||||
, SegmentManager
|
||||
, NodesPerBlock
|
||||
>
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
{
|
||||
|
||||
#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
namespace ipcdetail {
|
||||
|
||||
@@ -63,7 +63,7 @@ class private_adaptive_pool_base
|
||||
typedef SegmentManager segment_manager;
|
||||
typedef typename SegmentManager::void_pointer void_pointer;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef private_adaptive_pool_base
|
||||
< Version, T, SegmentManager, NodesPerBlock
|
||||
@@ -78,7 +78,7 @@ class private_adaptive_pool_base
|
||||
|
||||
BOOST_STATIC_ASSERT((Version <=2));
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
typedef typename boost::intrusive::
|
||||
@@ -107,7 +107,7 @@ class private_adaptive_pool_base
|
||||
<Version, T2, SegmentManager, NodesPerBlock, MaxFreeBlocks, OverheadPercent> other;
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
template <int dummy>
|
||||
struct node_pool
|
||||
@@ -132,7 +132,7 @@ class private_adaptive_pool_base
|
||||
|
||||
//!Not assignable from other private_adaptive_pool_base
|
||||
private_adaptive_pool_base& operator=(const private_adaptive_pool_base&);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructor from a segment manager
|
||||
@@ -170,10 +170,10 @@ class private_adaptive_pool_base
|
||||
friend void swap(self_t &alloc1,self_t &alloc2)
|
||||
{ alloc1.m_node_pool.swap(alloc2.m_node_pool); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
node_pool_t m_node_pool;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
//!Equality test for same type of private_adaptive_pool_base
|
||||
@@ -227,7 +227,7 @@ class private_adaptive_pool_v1
|
||||
|
||||
} //namespace ipcdetail {
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!An STL node allocator that uses a segment manager as memory
|
||||
//!source. The internal pointer type will of the same type (raw, smart) as
|
||||
@@ -249,7 +249,7 @@ template < class T
|
||||
, unsigned char OverheadPercent
|
||||
>
|
||||
class private_adaptive_pool
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
: public ipcdetail::private_adaptive_pool_base
|
||||
< 2
|
||||
, T
|
||||
@@ -258,7 +258,7 @@ class private_adaptive_pool
|
||||
, MaxFreeBlocks
|
||||
, OverheadPercent
|
||||
>
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
{
|
||||
|
||||
#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
namespace ipcdetail {
|
||||
|
||||
@@ -60,7 +60,7 @@ class private_node_allocator_base
|
||||
typedef SegmentManager segment_manager;
|
||||
typedef typename SegmentManager::void_pointer void_pointer;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef private_node_allocator_base
|
||||
< Version, T, SegmentManager, NodesPerBlock> self_t;
|
||||
@@ -72,7 +72,7 @@ class private_node_allocator_base
|
||||
|
||||
BOOST_STATIC_ASSERT((Version <=2));
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
|
||||
@@ -102,7 +102,7 @@ class private_node_allocator_base
|
||||
<Version, T2, SegmentManager, NodesPerBlock> other;
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
template <int dummy>
|
||||
struct node_pool
|
||||
{
|
||||
@@ -124,7 +124,7 @@ class private_node_allocator_base
|
||||
|
||||
//!Not assignable from other private_node_allocator_base
|
||||
private_node_allocator_base& operator=(const private_node_allocator_base&);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructor from a segment manager
|
||||
@@ -162,10 +162,10 @@ class private_node_allocator_base
|
||||
friend void swap(self_t &alloc1,self_t &alloc2)
|
||||
{ alloc1.m_node_pool.swap(alloc2.m_node_pool); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
node_pool_t m_node_pool;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
//!Equality test for same type of private_node_allocator_base
|
||||
@@ -215,7 +215,7 @@ class private_node_allocator_v1
|
||||
|
||||
} //namespace ipcdetail {
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!An STL node allocator that uses a segment manager as memory
|
||||
//!source. The internal pointer type will of the same type (raw, smart) as
|
||||
@@ -228,14 +228,14 @@ template < class T
|
||||
, std::size_t NodesPerBlock
|
||||
>
|
||||
class private_node_allocator
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
: public ipcdetail::private_node_allocator_base
|
||||
< 2
|
||||
, T
|
||||
, SegmentManager
|
||||
, NodesPerBlock
|
||||
>
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
{
|
||||
|
||||
#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
namespace ipcdetail{
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace ipcdetail{
|
||||
};
|
||||
}
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!A function that creates an anonymous shared memory segment of size "size".
|
||||
//!If "address" is passed the function will try to map the segment in that address.
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
typedef int allocation_type;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
static const allocation_type allocate_new = boost::container::allocate_new;
|
||||
static const allocation_type expand_fwd = boost::container::expand_fwd;
|
||||
static const allocation_type expand_bwd = boost::container::expand_bwd;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#ifndef BOOST_INTERPROCESS_CONTAINERS_CONTAINERS_FWD_HPP
|
||||
#define BOOST_INTERPROCESS_CONTAINERS_CONTAINERS_FWD_HPP
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# pragma once
|
||||
@@ -35,6 +35,6 @@ using boost::container::ordered_unique_range;
|
||||
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
#endif // #ifndef BOOST_INTERPROCESS_CONTAINERS_CONTAINERS_FWD_HPP
|
||||
|
||||
@@ -24,9 +24,9 @@ namespace ipcdetail{
|
||||
|
||||
class file_wrapper
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(file_wrapper)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
|
||||
//!Default constructor.
|
||||
|
||||
@@ -47,7 +47,7 @@ template<class T>
|
||||
struct placement_destroy : public in_place_interface
|
||||
{
|
||||
placement_destroy()
|
||||
: in_place_interface(::boost::alignment_of<T>::value, sizeof(T), typeid(T).name())
|
||||
: in_place_interface(::boost::alignment_of<T>::value, sizeof(T), typeid(T).name())
|
||||
{}
|
||||
|
||||
virtual void destroy_n(void *mem, std::size_t num, std::size_t &destroyed)
|
||||
|
||||
@@ -62,7 +62,7 @@ class basic_managed_global_memory
|
||||
>
|
||||
, private intermodule_types::open_or_create<Device, FileBased>::type
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
typedef typename intermodule_types::template open_or_create<Device, FileBased>::type base2_t;
|
||||
|
||||
typedef basic_managed_memory_impl
|
||||
@@ -83,7 +83,7 @@ class basic_managed_global_memory
|
||||
private:
|
||||
typedef typename base_t::char_ptr_holder_t char_ptr_holder_t;
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(basic_managed_global_memory)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public: //functions
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ class basic_managed_memory_impl
|
||||
typedef typename segment_manager::
|
||||
const_unique_iterator const_unique_iterator;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
typedef typename
|
||||
segment_manager::char_ptr_holder_t char_ptr_holder_t;
|
||||
@@ -98,7 +98,7 @@ class basic_managed_memory_impl
|
||||
|
||||
typedef typename segment_manager::multiallocation_chain multiallocation_chain;
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
static const size_type PayloadPerAllocation = segment_manager::PayloadPerAllocation;
|
||||
|
||||
@@ -303,7 +303,7 @@ class basic_managed_memory_impl
|
||||
void * allocate_aligned(size_type nbytes, size_type alignment)
|
||||
{ return mp_header->allocate_aligned(nbytes, alignment); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Experimental. Don't use.
|
||||
|
||||
@@ -333,7 +333,7 @@ class basic_managed_memory_impl
|
||||
void deallocate_many(multiallocation_chain &chain)
|
||||
{ mp_header->deallocate_many(chain); }
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!Marks previously allocated memory as free. Never throws.
|
||||
void deallocate (void *addr)
|
||||
@@ -703,14 +703,14 @@ class basic_managed_memory_impl
|
||||
get_deleter()
|
||||
{ return mp_header->template get_deleter<T>(); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//!Tries to find a previous named allocation address. Returns a memory
|
||||
//!buffer and the object count. If not found returned pointer is 0.
|
||||
//!Never throws.
|
||||
template <class T>
|
||||
std::pair<T*, size_type> find_no_lock (char_ptr_holder_t name)
|
||||
{ return mp_header->template find_no_lock<T>(name); }
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
protected:
|
||||
//!Swaps the segment manager's managed by this managed memory segment.
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
namespace ipcdetail{ class interprocess_tester; }
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ struct managed_open_or_create_impl_device_id_t<xsi_shared_memory_file_wrapper>
|
||||
|
||||
#endif //BOOST_INTERPROCESS_XSI_SHARED_MEMORY_OBJECTS
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
namespace ipcdetail {
|
||||
|
||||
|
||||
@@ -73,7 +73,6 @@ class mem_algo_deallocator
|
||||
{ if(m_ptr) m_algo.deallocate(m_ptr); }
|
||||
};
|
||||
|
||||
/// @cond
|
||||
template<class size_type>
|
||||
struct block_header
|
||||
{
|
||||
@@ -116,7 +115,7 @@ struct block_header
|
||||
{
|
||||
return get_rounded_size
|
||||
( size_type(sizeof(Header))
|
||||
, size_type(::boost::alignment_of<block_header<size_type> >::value))
|
||||
, size_type(::boost::alignment_of<block_header<size_type> >::value))
|
||||
+ total_size();
|
||||
}
|
||||
|
||||
@@ -190,7 +189,7 @@ struct block_header
|
||||
{
|
||||
block_header<size_type> * hdr =
|
||||
reinterpret_cast<block_header<size_type>*>(reinterpret_cast<char*>(header) +
|
||||
get_rounded_size(size_type(sizeof(Header)), size_type(::boost::alignment_of<block_header<size_type> >::value)));
|
||||
get_rounded_size(size_type(sizeof(Header)), size_type(::boost::alignment_of<block_header<size_type> >::value)));
|
||||
//Some sanity checks
|
||||
return hdr;
|
||||
}
|
||||
@@ -200,7 +199,7 @@ struct block_header
|
||||
{
|
||||
Header * hdr =
|
||||
reinterpret_cast<Header*>(reinterpret_cast<char*>(bheader) -
|
||||
get_rounded_size(size_type(sizeof(Header)), size_type(::boost::alignment_of<block_header<size_type> >::value)));
|
||||
get_rounded_size(size_type(sizeof(Header)), size_type(::boost::alignment_of<block_header<size_type> >::value)));
|
||||
//Some sanity checks
|
||||
return hdr;
|
||||
}
|
||||
|
||||
@@ -685,8 +685,8 @@ typedef FARPROC farproc_t;
|
||||
|
||||
struct interprocess_semaphore_basic_information
|
||||
{
|
||||
unsigned int count; // current semaphore count
|
||||
unsigned int limit; // max semaphore count
|
||||
unsigned int count; // current semaphore count
|
||||
unsigned int limit; // max semaphore count
|
||||
};
|
||||
|
||||
struct interprocess_section_basic_information
|
||||
@@ -1900,7 +1900,7 @@ inline bool unlink_file(const char *filename)
|
||||
, const_cast<wchar_t*>(empty_str)
|
||||
};
|
||||
object_attributes_t object_attr;
|
||||
initialize_object_attributes(&object_attr, &ustring, 0, fh, 0);
|
||||
initialize_object_attributes(&object_attr, &ustring, 0, fh, 0);
|
||||
void* fh2 = 0;
|
||||
io_status_block_t io;
|
||||
pNtOpenFile( &fh2, delete_flag, &object_attr, &io
|
||||
@@ -2263,10 +2263,10 @@ inline bool get_last_bootup_time(std::string &stamp)
|
||||
|
||||
inline bool is_directory(const char *path)
|
||||
{
|
||||
unsigned long attrib = GetFileAttributesA(path);
|
||||
unsigned long attrib = GetFileAttributesA(path);
|
||||
|
||||
return (attrib != invalid_file_attributes &&
|
||||
(attrib & file_attribute_directory));
|
||||
return (attrib != invalid_file_attributes &&
|
||||
(attrib & file_attribute_directory));
|
||||
}
|
||||
|
||||
inline bool get_file_mapping_size(void *file_mapping_hnd, __int64 &size)
|
||||
|
||||
@@ -44,9 +44,9 @@ namespace interprocess {
|
||||
|
||||
class xsi_shared_memory_device
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(xsi_shared_memory_file_wrapper)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
|
||||
@@ -113,7 +113,7 @@ class xsi_shared_memory_device
|
||||
//!Returns false on error. Never throws
|
||||
static bool remove(int shmid);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
template<int Dummy>
|
||||
struct info_constants_t
|
||||
@@ -147,7 +147,7 @@ class xsi_shared_memory_device
|
||||
xsi_shared_memory m_shm;
|
||||
mode_t m_mode;
|
||||
std::string m_name;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
template<int Dummy>
|
||||
@@ -162,7 +162,7 @@ const std::size_t xsi_shared_memory_device::info_constants_t<Dummy>::LastID;
|
||||
template<int Dummy>
|
||||
const std::size_t xsi_shared_memory_device::info_constants_t<Dummy>::NumID;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
inline xsi_shared_memory_device::xsi_shared_memory_device()
|
||||
: m_shm(), m_mode(invalid_mode), m_name()
|
||||
@@ -382,7 +382,7 @@ inline bool xsi_shared_memory_device::remove(const char *shmname)
|
||||
inline bool xsi_shared_memory_device::remove(int shmid)
|
||||
{ return xsi_shared_memory::remove(shmid); }
|
||||
|
||||
///@endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace interprocess {
|
||||
} //namespace boost {
|
||||
|
||||
@@ -38,9 +38,9 @@ namespace interprocess {
|
||||
class xsi_shared_memory_file_wrapper
|
||||
: public xsi_shared_memory
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(xsi_shared_memory_file_wrapper)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
|
||||
xsi_shared_memory_file_wrapper() : xsi_shared_memory() {}
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
inline int system_error_code() // artifact of POSIX and WINDOWS error reporting
|
||||
{
|
||||
#if defined (BOOST_INTERPROCESS_WINDOWS)
|
||||
@@ -85,7 +85,7 @@ inline void fill_system_message(int sys_err_code, std::string &str)
|
||||
inline void fill_system_message( int system_error, std::string &str)
|
||||
{ str = std::strerror(system_error); }
|
||||
# endif
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
enum error_code_t
|
||||
{
|
||||
@@ -120,7 +120,7 @@ enum error_code_t
|
||||
|
||||
typedef int native_error_t;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
struct ec_xlate
|
||||
{
|
||||
native_error_t sys_ec;
|
||||
@@ -227,7 +227,7 @@ struct error_info
|
||||
native_error_t m_nat;
|
||||
error_code_t m_ec;
|
||||
};
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} // namespace interprocess {
|
||||
} // namespace boost
|
||||
|
||||
@@ -75,11 +75,11 @@ class interprocess_exception : public std::exception
|
||||
// Note: a value of other_error implies a library (rather than system) error
|
||||
error_code_t get_error_code() const { return m_err.get_error_code(); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
error_info m_err;
|
||||
std::string m_str;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
//!This is the exception thrown by shared interprocess_mutex family when a deadlock situation
|
||||
|
||||
@@ -32,9 +32,9 @@ namespace interprocess {
|
||||
//!create mapped regions from the mapped files
|
||||
class file_mapping
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(file_mapping)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructs an empty file mapping.
|
||||
@@ -91,14 +91,14 @@ class file_mapping
|
||||
//!being used other processes and no deletion permission was shared.
|
||||
static bool remove(const char *filename);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
//!Closes a previously opened file mapping. Never throws.
|
||||
void priv_close();
|
||||
file_handle_t m_handle;
|
||||
mode_t m_mode;
|
||||
std::string m_filename;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
inline file_mapping::file_mapping()
|
||||
@@ -150,7 +150,7 @@ inline file_mapping::file_mapping
|
||||
inline bool file_mapping::remove(const char *filename)
|
||||
{ return ipcdetail::delete_file(filename); }
|
||||
|
||||
///@cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
inline void file_mapping::priv_close()
|
||||
{
|
||||
@@ -160,7 +160,7 @@ inline void file_mapping::priv_close()
|
||||
}
|
||||
}
|
||||
|
||||
///@endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!A class that stores the name of a file
|
||||
//!and tries to remove it in its destructor
|
||||
|
||||
@@ -48,12 +48,12 @@ class flat_map_index
|
||||
//Derive class from flat_map specialization
|
||||
: public flat_map_index_aux<MapConfig>::index_t
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
typedef flat_map_index_aux<MapConfig> index_aux;
|
||||
typedef typename index_aux::index_t base_type;
|
||||
typedef typename index_aux::
|
||||
segment_manager_base segment_manager_base;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructor. Takes a pointer to the segment manager. Can throw
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//!Helper class to define typedefs from IndexTraits
|
||||
template <class MapConfig>
|
||||
@@ -52,7 +52,7 @@ struct iset_index_aux
|
||||
, bi::base_hook<derivation_hook>
|
||||
>::type index_t;
|
||||
};
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!Index type based in boost::intrusive::set.
|
||||
//!Just derives from boost::intrusive::set
|
||||
@@ -62,13 +62,13 @@ class iset_index
|
||||
//Derive class from map specialization
|
||||
: public iset_index_aux<MapConfig>::index_t
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
typedef iset_index_aux<MapConfig> index_aux;
|
||||
typedef typename index_aux::index_t index_type;
|
||||
typedef typename MapConfig::
|
||||
intrusive_compare_key_type intrusive_compare_key_type;
|
||||
typedef typename MapConfig::char_type char_type;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
typedef typename index_type::iterator iterator;
|
||||
@@ -76,7 +76,7 @@ class iset_index
|
||||
typedef typename index_type::insert_commit_data insert_commit_data;
|
||||
typedef typename index_type::value_type value_type;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
|
||||
struct intrusive_key_value_less
|
||||
@@ -100,7 +100,7 @@ class iset_index
|
||||
}
|
||||
};
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
|
||||
@@ -130,7 +130,7 @@ class iset_index
|
||||
{ return index_type::insert_check(key, intrusive_key_value_less(), commit_data); }
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//!Trait class to detect if an index is an intrusive
|
||||
//!index.
|
||||
@@ -140,7 +140,7 @@ struct is_intrusive_index
|
||||
{
|
||||
static const bool value = true;
|
||||
};
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace interprocess {
|
||||
} //namespace boost
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
namespace boost { namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//!Helper class to define typedefs
|
||||
//!from IndexTraits
|
||||
@@ -116,7 +116,7 @@ struct iunordered_set_index_aux
|
||||
bucket_type init_bucket;
|
||||
};
|
||||
};
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!Index type based in boost::intrusive::set.
|
||||
//!Just derives from boost::intrusive::set
|
||||
@@ -127,7 +127,7 @@ class iunordered_set_index
|
||||
: private iunordered_set_index_aux<MapConfig>::allocator_holder
|
||||
, public iunordered_set_index_aux<MapConfig>::index_t
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
typedef iunordered_set_index_aux<MapConfig> index_aux;
|
||||
typedef typename index_aux::index_t index_type;
|
||||
typedef typename MapConfig::
|
||||
@@ -139,7 +139,7 @@ class iunordered_set_index
|
||||
iunordered_set_index_aux<MapConfig>::allocator_type allocator_type;
|
||||
typedef typename
|
||||
iunordered_set_index_aux<MapConfig>::allocator_holder allocator_holder;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
typedef typename index_type::iterator iterator;
|
||||
@@ -151,7 +151,7 @@ class iunordered_set_index
|
||||
typedef typename index_type::bucket_traits bucket_traits;
|
||||
typedef typename index_type::size_type size_type;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef typename index_aux::
|
||||
segment_manager_base segment_manager_base;
|
||||
@@ -236,7 +236,7 @@ class iunordered_set_index
|
||||
iunordered_set_index<MapConfig>* get_this_pointer()
|
||||
{ return this; }
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructor. Takes a pointer to the
|
||||
@@ -349,7 +349,7 @@ class iunordered_set_index
|
||||
}
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//!Trait class to detect if an index is an intrusive
|
||||
//!index
|
||||
@@ -359,7 +359,7 @@ struct is_intrusive_index
|
||||
{
|
||||
static const bool value = true;
|
||||
};
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
}} //namespace boost { namespace interprocess {
|
||||
|
||||
|
||||
@@ -55,12 +55,12 @@ class map_index
|
||||
//Derive class from map specialization
|
||||
: public ipcdetail::map_index_aux<MapConfig>::index_t
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
typedef ipcdetail::map_index_aux<MapConfig> index_aux;
|
||||
typedef typename index_aux::index_t base_type;
|
||||
typedef typename MapConfig::
|
||||
segment_manager_base segment_manager_base;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructor. Takes a pointer to the
|
||||
@@ -80,7 +80,7 @@ class map_index
|
||||
{ base_type::get_stored_allocator().deallocate_free_blocks(); }
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//!Trait class to detect if an index is a node
|
||||
//!index. This allows more efficient operations
|
||||
@@ -91,7 +91,7 @@ struct is_node_index
|
||||
{
|
||||
static const bool value = true;
|
||||
};
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
}} //namespace boost { namespace interprocess {
|
||||
|
||||
|
||||
@@ -28,10 +28,10 @@ namespace interprocess {
|
||||
template <class MapConfig>
|
||||
class null_index
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
typedef typename MapConfig::
|
||||
segment_manager_base segment_manager_base;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
typedef int * iterator;
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
///@cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//!Helper class to define typedefs from
|
||||
//!IndexTraits
|
||||
@@ -57,7 +57,7 @@ struct unordered_map_index_aux
|
||||
key_equal, allocator_type> index_t;
|
||||
};
|
||||
|
||||
///@endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!Index type based in unordered_map. Just derives from unordered_map and
|
||||
//!defines the interface needed by managed memory segments
|
||||
@@ -66,12 +66,12 @@ class unordered_map_index
|
||||
//Derive class from unordered_map specialization
|
||||
: public unordered_map_index_aux<MapConfig>::index_t
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
typedef unordered_map_index_aux<MapConfig> index_aux;
|
||||
typedef typename index_aux::index_t base_type;
|
||||
typedef typename
|
||||
MapConfig::segment_manager_base segment_manager_base;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructor. Takes a pointer to the
|
||||
@@ -93,7 +93,7 @@ class unordered_map_index
|
||||
{ base_type::rehash(base_type::size()); }
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//!Trait class to detect if an index is a node
|
||||
//!index. This allows more efficient operations
|
||||
@@ -104,7 +104,7 @@ struct is_node_index
|
||||
{
|
||||
static const bool value = true;
|
||||
};
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
}} //namespace boost { namespace interprocess {
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// Standard predeclarations
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
namespace boost{
|
||||
namespace intrusive{
|
||||
@@ -41,7 +41,7 @@ namespace bi = boost::intrusive;
|
||||
#include <iosfwd>
|
||||
#include <string>
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
namespace boost { namespace interprocess {
|
||||
|
||||
|
||||
@@ -54,12 +54,12 @@ namespace ipcdetail
|
||||
template<class VoidPointer>
|
||||
class message_queue_t
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Blocking modes
|
||||
enum block_t { blocking, timed, non_blocking };
|
||||
|
||||
message_queue_t();
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
typedef VoidPointer void_pointer;
|
||||
@@ -168,7 +168,7 @@ class message_queue_t
|
||||
//!Returns false on error. Never throws
|
||||
static bool remove(const char *name);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef boost::posix_time::ptime ptime;
|
||||
|
||||
@@ -188,10 +188,10 @@ class message_queue_t
|
||||
static size_type get_mem_size(size_type max_msg_size, size_type max_num_msg);
|
||||
typedef ipcdetail::managed_open_or_create_impl<shared_memory_object, 0, true, false> open_create_impl_t;
|
||||
open_create_impl_t m_shmem;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
namespace ipcdetail {
|
||||
|
||||
@@ -521,8 +521,8 @@ class mq_hdr_t
|
||||
(size_type max_msg_size, size_type max_num_msg)
|
||||
{
|
||||
const size_type
|
||||
msg_hdr_align = ::boost::alignment_of<msg_header>::value,
|
||||
index_align = ::boost::alignment_of<msg_hdr_ptr_t>::value,
|
||||
msg_hdr_align = ::boost::alignment_of<msg_header>::value,
|
||||
index_align = ::boost::alignment_of<msg_hdr_ptr_t>::value,
|
||||
r_hdr_size = ipcdetail::ct_rounded_size<sizeof(mq_hdr_t), index_align>::value,
|
||||
r_index_size = ipcdetail::get_rounded_size(max_num_msg*sizeof(msg_hdr_ptr_t), msg_hdr_align),
|
||||
r_max_msg_size = ipcdetail::get_rounded_size(max_msg_size, msg_hdr_align) + sizeof(msg_header);
|
||||
@@ -535,8 +535,8 @@ class mq_hdr_t
|
||||
void initialize_memory()
|
||||
{
|
||||
const size_type
|
||||
msg_hdr_align = ::boost::alignment_of<msg_header>::value,
|
||||
index_align = ::boost::alignment_of<msg_hdr_ptr_t>::value,
|
||||
msg_hdr_align = ::boost::alignment_of<msg_header>::value,
|
||||
index_align = ::boost::alignment_of<msg_hdr_ptr_t>::value,
|
||||
r_hdr_size = ipcdetail::ct_rounded_size<sizeof(mq_hdr_t), index_align>::value,
|
||||
r_index_size = ipcdetail::get_rounded_size(m_max_num_msg*sizeof(msg_hdr_ptr_t), msg_hdr_align),
|
||||
r_max_msg_size = ipcdetail::get_rounded_size(m_max_msg_size, msg_hdr_align) + sizeof(msg_header);
|
||||
@@ -971,7 +971,7 @@ template<class VoidPointer>
|
||||
inline bool message_queue_t<VoidPointer>::remove(const char *name)
|
||||
{ return shared_memory_object::remove(name); }
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
}} //namespace boost{ namespace interprocess{
|
||||
|
||||
|
||||
@@ -45,11 +45,11 @@ template
|
||||
class basic_managed_external_buffer
|
||||
: public ipcdetail::basic_managed_memory_impl <CharType, AllocationAlgorithm, IndexType>
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
typedef ipcdetail::basic_managed_memory_impl
|
||||
<CharType, AllocationAlgorithm, IndexType> base_t;
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(basic_managed_external_buffer)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
typedef typename base_t::size_type size_type;
|
||||
|
||||
@@ -46,13 +46,13 @@ template
|
||||
class basic_managed_heap_memory
|
||||
: public ipcdetail::basic_managed_memory_impl <CharType, AllocationAlgorithm, IndexType>
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
|
||||
typedef ipcdetail::basic_managed_memory_impl
|
||||
<CharType, AllocationAlgorithm, IndexType> base_t;
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(basic_managed_heap_memory)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public: //functions
|
||||
typedef typename base_t::size_type size_type;
|
||||
@@ -125,7 +125,7 @@ class basic_managed_heap_memory
|
||||
m_heapmem.swap(other.m_heapmem);
|
||||
}
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
//!Frees resources. Never throws.
|
||||
void priv_close()
|
||||
@@ -135,7 +135,7 @@ class basic_managed_heap_memory
|
||||
}
|
||||
|
||||
std::vector<char> m_heapmem;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ class basic_managed_mapped_file
|
||||
<CharType, AllocationAlgorithm, IndexType
|
||||
,ipcdetail::mfile_open_or_create<AllocationAlgorithm>::type::ManagedOpenOrCreateUserOffset>
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
public:
|
||||
typedef ipcdetail::basic_managed_memory_impl
|
||||
<CharType, AllocationAlgorithm, IndexType,
|
||||
@@ -75,7 +75,7 @@ class basic_managed_mapped_file
|
||||
private:
|
||||
typedef typename base_t::char_ptr_holder_t char_ptr_holder_t;
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(basic_managed_mapped_file)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public: //functions
|
||||
|
||||
@@ -192,7 +192,7 @@ class basic_managed_mapped_file
|
||||
<basic_managed_mapped_file>(filename);
|
||||
}
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//!Tries to find a previous named allocation address. Returns a memory
|
||||
//!buffer and the object count. If not found returned pointer is 0.
|
||||
@@ -210,7 +210,7 @@ class basic_managed_mapped_file
|
||||
|
||||
private:
|
||||
typename ipcdetail::mfile_open_or_create<AllocationAlgorithm>::type m_mfile;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
} //namespace interprocess {
|
||||
|
||||
@@ -57,7 +57,7 @@ class basic_managed_shared_memory
|
||||
,ipcdetail::shmem_open_or_create<AllocationAlgorithm>::type::ManagedOpenOrCreateUserOffset>
|
||||
, private ipcdetail::shmem_open_or_create<AllocationAlgorithm>::type
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
typedef ipcdetail::basic_managed_memory_impl
|
||||
<CharType, AllocationAlgorithm, IndexType,
|
||||
ipcdetail::shmem_open_or_create<AllocationAlgorithm>::type::ManagedOpenOrCreateUserOffset> base_t;
|
||||
@@ -75,7 +75,7 @@ class basic_managed_shared_memory
|
||||
private:
|
||||
typedef typename base_t::char_ptr_holder_t char_ptr_holder_t;
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(basic_managed_shared_memory)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public: //functions
|
||||
|
||||
@@ -193,7 +193,7 @@ class basic_managed_shared_memory
|
||||
return base_t::template shrink_to_fit
|
||||
<basic_managed_shared_memory>(shmname);
|
||||
}
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//!Tries to find a previous named allocation address. Returns a memory
|
||||
//!buffer and the object count. If not found returned pointer is 0.
|
||||
@@ -209,7 +209,7 @@ class basic_managed_shared_memory
|
||||
}
|
||||
}
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
} //namespace interprocess {
|
||||
|
||||
@@ -65,7 +65,7 @@ class basic_managed_windows_shared_memory
|
||||
< CharType, AllocationAlgorithm, IndexType
|
||||
, ipcdetail::wshmem_open_or_create<AllocationAlgorithm>::type::ManagedOpenOrCreateUserOffset>
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef ipcdetail::basic_managed_memory_impl
|
||||
<CharType, AllocationAlgorithm, IndexType,
|
||||
@@ -78,7 +78,7 @@ class basic_managed_windows_shared_memory
|
||||
private:
|
||||
typedef typename base_t::char_ptr_holder_t char_ptr_holder_t;
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(basic_managed_windows_shared_memory)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public: //functions
|
||||
typedef typename base_t::size_type size_type;
|
||||
@@ -170,7 +170,7 @@ class basic_managed_windows_shared_memory
|
||||
m_wshm.swap(other.m_wshm);
|
||||
}
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//!Tries to find a previous named allocation address. Returns a memory
|
||||
//!buffer and the object count. If not found returned pointer is 0.
|
||||
@@ -188,7 +188,7 @@ class basic_managed_windows_shared_memory
|
||||
|
||||
private:
|
||||
typename ipcdetail::wshmem_open_or_create<AllocationAlgorithm>::type m_wshm;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
} //namespace interprocess {
|
||||
|
||||
@@ -62,7 +62,7 @@ class basic_managed_xsi_shared_memory
|
||||
,ipcdetail::xsishmem_open_or_create<AllocationAlgorithm>::type::ManagedOpenOrCreateUserOffset>
|
||||
, private ipcdetail::xsishmem_open_or_create<AllocationAlgorithm>::type
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
public:
|
||||
typedef xsi_shared_memory_file_wrapper device_type;
|
||||
|
||||
@@ -80,7 +80,7 @@ class basic_managed_xsi_shared_memory
|
||||
private:
|
||||
typedef typename base_t::char_ptr_holder_t char_ptr_holder_t;
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(basic_managed_xsi_shared_memory)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public: //functions
|
||||
typedef typename base_t::size_type size_type;
|
||||
@@ -177,7 +177,7 @@ class basic_managed_xsi_shared_memory
|
||||
int get_shmid() const
|
||||
{ return base2_t::get_device().get_shmid(); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//!Tries to find a previous named allocation address. Returns a memory
|
||||
//!buffer and the object count. If not found returned pointer is 0.
|
||||
@@ -193,7 +193,7 @@ class basic_managed_xsi_shared_memory
|
||||
}
|
||||
}
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
} //namespace interprocess {
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Solaris declares madvise only in some configurations but defines MADV_XXX, a bit confusing.
|
||||
//Predeclare it here to avoid any compilation error
|
||||
@@ -72,7 +72,7 @@ extern "C" int madvise(caddr_t, size_t, int);
|
||||
namespace ipcdetail{ class interprocess_tester; }
|
||||
namespace ipcdetail{ class raw_mapped_region_creator; }
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!The mapped_region class represents a portion or region created from a
|
||||
//!memory_mappable object.
|
||||
@@ -82,10 +82,10 @@ namespace ipcdetail{ class raw_mapped_region_creator; }
|
||||
//!the region specified by the user.
|
||||
class mapped_region
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(mapped_region)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
|
||||
@@ -217,7 +217,7 @@ class mapped_region
|
||||
//!will restrict the address and the offset to map.
|
||||
static std::size_t get_page_size();
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
//!Closes a previously opened memory mapping. Never throws
|
||||
void priv_close();
|
||||
@@ -254,10 +254,10 @@ class mapped_region
|
||||
template<int Dummy>
|
||||
static void destroy_syncs_in_range(const void *addr, std::size_t size);
|
||||
#endif
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
///@cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
inline void swap(mapped_region &x, mapped_region &y)
|
||||
{ x.swap(y); }
|
||||
@@ -870,7 +870,7 @@ struct null_mapped_region_function
|
||||
{ return 0; }
|
||||
};
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace interprocess {
|
||||
} //namespace boost {
|
||||
|
||||
@@ -141,7 +141,7 @@ class simple_seq_fit_impl
|
||||
//!Allocates bytes, returns 0 if there is not more memory
|
||||
void* allocate (size_type nbytes);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//!Multiple element allocation, same size
|
||||
void allocate_many(size_type elem_bytes, size_type num_elements, multiallocation_chain &chain)
|
||||
@@ -164,7 +164,7 @@ class simple_seq_fit_impl
|
||||
//!Multiple element deallocation
|
||||
void deallocate_many(multiallocation_chain &chain);
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!Deallocates previously allocated bytes
|
||||
void deallocate (void *addr);
|
||||
@@ -280,7 +280,7 @@ class simple_seq_fit_impl
|
||||
void priv_mark_new_allocated_block(block_ctrl *block);
|
||||
|
||||
public:
|
||||
static const size_type Alignment = ::boost::alignment_of< ::boost::detail::max_align>::value;
|
||||
static const size_type Alignment = ::boost::alignment_of< ::boost::detail::max_align>::value;
|
||||
private:
|
||||
static const size_type BlockCtrlBytes = ipcdetail::ct_rounded_size<sizeof(block_ctrl), Alignment>::value;
|
||||
static const size_type BlockCtrlUnits = BlockCtrlBytes/Alignment;
|
||||
|
||||
@@ -66,7 +66,7 @@ namespace interprocess {
|
||||
template<class MutexFamily, class VoidPointer, std::size_t MemAlignment>
|
||||
class rbtree_best_fit
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
rbtree_best_fit();
|
||||
rbtree_best_fit(const rbtree_best_fit &);
|
||||
@@ -82,7 +82,7 @@ class rbtree_best_fit
|
||||
pointer_traits<VoidPointer>::template
|
||||
rebind_pointer<char>::type char_ptr;
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Shared mutex family used for the rest of the Interprocess framework
|
||||
@@ -94,7 +94,7 @@ class rbtree_best_fit
|
||||
typedef typename boost::intrusive::pointer_traits<char_ptr>::difference_type difference_type;
|
||||
typedef typename boost::make_unsigned<difference_type>::type size_type;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
private:
|
||||
|
||||
@@ -161,7 +161,7 @@ class rbtree_best_fit
|
||||
typedef ipcdetail::memory_algorithm_common<rbtree_best_fit> algo_impl_t;
|
||||
|
||||
public:
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!Constructor. "size" is the total size of the managed memory segment,
|
||||
//!"extra_hdr_bytes" indicates the extra bytes beginning in the sizeof(rbtree_best_fit)
|
||||
@@ -179,7 +179,7 @@ class rbtree_best_fit
|
||||
//!Allocates bytes, returns 0 if there is not more memory
|
||||
void* allocate (size_type nbytes);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Experimental. Dont' use
|
||||
|
||||
@@ -204,7 +204,7 @@ class rbtree_best_fit
|
||||
//!Multiple element allocation, different size
|
||||
void deallocate_many(multiallocation_chain &chain);
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!Deallocates previously allocated bytes
|
||||
void deallocate (void *addr);
|
||||
@@ -251,7 +251,7 @@ class rbtree_best_fit
|
||||
//!Alignment must be power of 2
|
||||
void* allocate_aligned (size_type nbytes, size_type alignment);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
static size_type priv_first_block_offset_from_this(const void *this_ptr, size_type extra_hdr_bytes);
|
||||
|
||||
@@ -360,12 +360,12 @@ class rbtree_best_fit
|
||||
|
||||
//Make sure the maximum alignment is power of two
|
||||
BOOST_STATIC_ASSERT((0 == (Alignment & (Alignment - size_type(1u)))));
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
static const size_type PayloadPerAllocation = AllocatedCtrlBytes - UsableByPreviousChunk;
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
template<class MutexFamily, class VoidPointer, std::size_t MemAlignment>
|
||||
inline typename rbtree_best_fit<MutexFamily, VoidPointer, MemAlignment>::size_type
|
||||
@@ -1404,7 +1404,7 @@ void rbtree_best_fit<MutexFamily, VoidPointer, MemAlignment>::priv_deallocate(vo
|
||||
priv_mark_as_free_block(block_to_insert);
|
||||
}
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace interprocess {
|
||||
} //namespace boost {
|
||||
|
||||
@@ -34,9 +34,9 @@ template<class MutexFamily, class VoidPointer>
|
||||
class simple_seq_fit
|
||||
: public ipcdetail::simple_seq_fit_impl<MutexFamily, VoidPointer>
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
typedef ipcdetail::simple_seq_fit_impl<MutexFamily, VoidPointer> base_t;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
typedef typename base_t::size_type size_type;
|
||||
|
||||
@@ -45,7 +45,7 @@ struct has_trivial_destructor;
|
||||
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
namespace ipcdetail {
|
||||
|
||||
template<class OffsetType, std::size_t OffsetAlignment>
|
||||
@@ -219,7 +219,7 @@ namespace ipcdetail {
|
||||
};
|
||||
|
||||
} //namespace ipcdetail {
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!A smart pointer that stores the offset between between the pointer and the
|
||||
//!the object it points. This allows offset allows special properties, since
|
||||
@@ -230,11 +230,11 @@ namespace ipcdetail {
|
||||
template <class PointedType, class DifferenceType, class OffsetType, std::size_t OffsetAlignment>
|
||||
class offset_ptr
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
typedef offset_ptr<PointedType, DifferenceType, OffsetType, OffsetAlignment> self_t;
|
||||
void unspecified_bool_type_func() const {}
|
||||
typedef void (self_t::*unspecified_bool_type)() const;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
typedef PointedType element_type;
|
||||
@@ -564,7 +564,7 @@ class offset_ptr
|
||||
}
|
||||
|
||||
private:
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
void inc_offset(DifferenceType bytes)
|
||||
{ internal.m_offset += bytes; }
|
||||
|
||||
@@ -572,7 +572,7 @@ class offset_ptr
|
||||
{ internal.m_offset -= bytes; }
|
||||
|
||||
ipcdetail::offset_ptr_internal<OffsetType, OffsetAlignment> internal;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
//!operator<<
|
||||
@@ -627,7 +627,7 @@ inline boost::interprocess::offset_ptr<T1, P1, O1, A1>
|
||||
|
||||
} //namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//!has_trivial_constructor<> == true_type specialization for optimizations
|
||||
template <class T, class P, class O, std::size_t A>
|
||||
@@ -655,10 +655,10 @@ inline T * to_raw_pointer(boost::interprocess::offset_ptr<T, P, O, A> const & p)
|
||||
} //namespace interprocess
|
||||
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
} //namespace boost {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
namespace boost{
|
||||
|
||||
@@ -731,7 +731,7 @@ struct pointer_to_other
|
||||
};
|
||||
|
||||
} //namespace boost{
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
#include <boost/interprocess/detail/config_end.hpp>
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#ifndef BOOST_INTERPROCESS_PERMISSIONS_HPP
|
||||
#define BOOST_INTERPROCESS_PERMISSIONS_HPP
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# pragma once
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!\file
|
||||
//!Describes permissions class
|
||||
@@ -35,7 +35,7 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
#if defined(BOOST_INTERPROCESS_WINDOWS)
|
||||
|
||||
@@ -54,14 +54,14 @@ winapi::interprocess_all_access_security unrestricted_permissions_holder<Dummy>:
|
||||
|
||||
#endif //defined BOOST_INTERPROCESS_WINDOWS
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!The permissions class represents permissions to be set to shared memory or
|
||||
//!files, that can be constructed form usual permission representations:
|
||||
//!a SECURITY_ATTRIBUTES pointer in windows or ORed rwx chmod integer in UNIX.
|
||||
class permissions
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
#if defined(BOOST_INTERPROCESS_WINDOWS)
|
||||
typedef void* os_permissions_type;
|
||||
@@ -70,7 +70,7 @@ class permissions
|
||||
#endif
|
||||
os_permissions_type m_perm;
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructs a permissions object from a user provided os-dependent
|
||||
@@ -90,26 +90,22 @@ class permissions
|
||||
//!for UNIX.
|
||||
void set_default()
|
||||
{
|
||||
/// @cond
|
||||
#if defined (BOOST_INTERPROCESS_WINDOWS)
|
||||
m_perm = 0;
|
||||
#else
|
||||
m_perm = 0644;
|
||||
#endif
|
||||
/// @endcond
|
||||
}
|
||||
|
||||
//!Sets permissions to unrestricted access:
|
||||
//!A null DACL for windows or 0666 for UNIX.
|
||||
void set_unrestricted()
|
||||
{
|
||||
/// @cond
|
||||
#if defined (BOOST_INTERPROCESS_WINDOWS)
|
||||
m_perm = &ipcdetail::unrestricted_permissions_holder<0>::unrestricted;
|
||||
#else
|
||||
m_perm = 0666;
|
||||
#endif
|
||||
/// @endcond
|
||||
}
|
||||
|
||||
//!Sets permissions from a user provided os-dependent
|
||||
|
||||
@@ -70,14 +70,14 @@ class segment_manager_base
|
||||
typedef typename MemoryAlgorithm::mutex_family mutex_family;
|
||||
typedef MemoryAlgorithm memory_algorithm;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Experimental. Don't use
|
||||
typedef typename MemoryAlgorithm::multiallocation_chain multiallocation_chain;
|
||||
typedef typename MemoryAlgorithm::difference_type difference_type;
|
||||
typedef typename MemoryAlgorithm::size_type size_type;
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!This constant indicates the payload size
|
||||
//!associated with each allocation of the memory algorithm
|
||||
@@ -120,7 +120,7 @@ class segment_manager_base
|
||||
void * allocate (size_type nbytes, std::nothrow_t)
|
||||
{ return MemoryAlgorithm::allocate(nbytes); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Experimental. Dont' use.
|
||||
//!Allocates n_elements of elem_bytes bytes.
|
||||
@@ -161,7 +161,7 @@ class segment_manager_base
|
||||
void deallocate_many(multiallocation_chain &chain)
|
||||
{ MemoryAlgorithm::deallocate_many(chain); }
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!Allocates nbytes bytes. Throws boost::interprocess::bad_alloc
|
||||
//!on failure
|
||||
@@ -188,7 +188,7 @@ class segment_manager_base
|
||||
return ret;
|
||||
}
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
template<class T>
|
||||
std::pair<T *, bool>
|
||||
@@ -217,7 +217,7 @@ class segment_manager_base
|
||||
return ret;
|
||||
}
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!Deallocates the bytes allocated with allocate/allocate_many()
|
||||
//!pointed by addr
|
||||
@@ -253,7 +253,7 @@ class segment_manager_base
|
||||
size_type size(const void *ptr) const
|
||||
{ return MemoryAlgorithm::size(ptr); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
protected:
|
||||
void * prot_anonymous_construct
|
||||
(size_type num, bool dothrow, ipcdetail::in_place_interface &table)
|
||||
@@ -317,7 +317,7 @@ class segment_manager_base
|
||||
table.destroy_n(const_cast<void*>(object), ctrl_data->m_value_bytes/table.size, destroyed);
|
||||
this->deallocate(ctrl_data);
|
||||
}
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
//!This object is placed in the beginning of memory segment and
|
||||
@@ -342,13 +342,13 @@ template<class CharType
|
||||
class segment_manager
|
||||
: public segment_manager_base<MemoryAlgorithm>
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
segment_manager();
|
||||
segment_manager(const segment_manager &);
|
||||
segment_manager &operator=(const segment_manager &);
|
||||
typedef segment_manager_base<MemoryAlgorithm> segment_manager_base_t;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
typedef MemoryAlgorithm memory_algorithm;
|
||||
@@ -361,7 +361,7 @@ class segment_manager
|
||||
|
||||
static const size_type PayloadPerAllocation = segment_manager_base_t::PayloadPerAllocation;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef ipcdetail::block_header<size_type> block_header_t;
|
||||
typedef ipcdetail::index_config<CharType, MemoryAlgorithm> index_config_named;
|
||||
@@ -381,7 +381,7 @@ class segment_manager
|
||||
typedef ipcdetail::segment_manager_iterator_transform
|
||||
<typename unique_index_t::const_iterator
|
||||
,is_intrusive_index<index_type>::value> unique_transform;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
typedef typename segment_manager_base_t::mutex_family mutex_family;
|
||||
|
||||
@@ -390,7 +390,7 @@ class segment_manager
|
||||
typedef transform_iterator
|
||||
<typename unique_index_t::const_iterator, unique_transform> const_unique_iterator;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//!Constructor proxy object definition helper class
|
||||
template<class T>
|
||||
@@ -406,7 +406,7 @@ class segment_manager
|
||||
typedef ipcdetail::named_proxy<segment_manager, T, true> type;
|
||||
};
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!Constructor of the segment manager
|
||||
//!"size" is the size of the memory segment where
|
||||
@@ -686,7 +686,7 @@ class segment_manager
|
||||
get_deleter()
|
||||
{ return typename deleter<T>::type(this); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//!Generic named/anonymous new function. Offers all the possibilities,
|
||||
//!such as throwing, search before creating, and the constructor is
|
||||
@@ -1329,7 +1329,7 @@ class segment_manager
|
||||
{}
|
||||
} m_header;
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -51,10 +51,10 @@ namespace interprocess {
|
||||
//!create mapped regions from the mapped files
|
||||
class shared_memory_object
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable and non-assignable
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(shared_memory_object)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Default constructor. Represents an empty shared_memory_object.
|
||||
@@ -126,22 +126,22 @@ class shared_memory_object
|
||||
//!Returns mapping handle. Never throws.
|
||||
mapping_handle_t get_mapping_handle() const;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
|
||||
//!Closes a previously opened file mapping. Never throws.
|
||||
void priv_close();
|
||||
|
||||
//!Closes a previously opened file mapping. Never throws.
|
||||
//!Opens or creates a shared memory object.
|
||||
bool priv_open_or_create(ipcdetail::create_enum_t type, const char *filename, mode_t mode, const permissions &perm);
|
||||
|
||||
file_handle_t m_handle;
|
||||
mode_t m_mode;
|
||||
std::string m_filename;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
inline shared_memory_object::shared_memory_object()
|
||||
: m_handle(file_handle_t(ipcdetail::invalid_file()))
|
||||
@@ -404,7 +404,7 @@ inline void shared_memory_object::priv_close()
|
||||
|
||||
#endif
|
||||
|
||||
///@endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!A class that stores the name of a shared memory
|
||||
//!and calls shared_memory_object::remove(name) in its destructor
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace interprocess{
|
||||
template<class T, class A, class D>
|
||||
class enable_shared_from_this
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
protected:
|
||||
enable_shared_from_this()
|
||||
{}
|
||||
@@ -47,7 +47,7 @@ class enable_shared_from_this
|
||||
|
||||
~enable_shared_from_this()
|
||||
{}
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
shared_ptr<T, A, D> shared_from_this()
|
||||
@@ -64,10 +64,10 @@ class enable_shared_from_this
|
||||
return p;
|
||||
}
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
typedef T element_type;
|
||||
mutable weak_ptr<element_type, A, D> _internal_weak_this;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
} // namespace interprocess
|
||||
|
||||
@@ -56,12 +56,12 @@ class intrusive_ptr
|
||||
//!Provides the type of the stored pointer.
|
||||
typedef T element_type;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef VoidPointer VP;
|
||||
typedef intrusive_ptr this_type;
|
||||
typedef pointer this_type::*unspecified_bool_type;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructor. Initializes internal pointer to 0.
|
||||
@@ -166,10 +166,10 @@ class intrusive_ptr
|
||||
void swap(intrusive_ptr & rhs)
|
||||
{ ipcdetail::do_swap(m_ptr, rhs.m_ptr); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
pointer m_ptr;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
//!Returns a.get() == b.get().
|
||||
@@ -277,7 +277,7 @@ inline boost::interprocess::intrusive_ptr<T, VP>reinterpret_pointer_cast
|
||||
|
||||
} // namespace interprocess
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1400)
|
||||
//!Returns p.get().
|
||||
@@ -287,7 +287,7 @@ inline T *to_raw_pointer(boost::interprocess::intrusive_ptr<T, VP> p)
|
||||
{ return p.get(); }
|
||||
#endif
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} // namespace boost
|
||||
|
||||
|
||||
@@ -40,13 +40,13 @@ template<class T, class Deleter>
|
||||
class scoped_ptr
|
||||
: private Deleter
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
scoped_ptr(scoped_ptr const &);
|
||||
scoped_ptr & operator=(scoped_ptr const &);
|
||||
|
||||
typedef scoped_ptr<T, Deleter> this_type;
|
||||
typedef typename ipcdetail::add_reference<T>::type reference;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
|
||||
@@ -127,10 +127,10 @@ class scoped_ptr
|
||||
void swap(scoped_ptr & b) // never throws
|
||||
{ ipcdetail::do_swap<Deleter>(*this, b); ipcdetail::do_swap(m_ptr, b.m_ptr); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
pointer m_ptr;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
//!Exchanges the internal pointer and deleter with other scoped_ptr
|
||||
@@ -147,7 +147,7 @@ typename scoped_ptr<T, D>::pointer to_raw_pointer(scoped_ptr<T, D> const & p)
|
||||
|
||||
} // namespace interprocess
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1400)
|
||||
template<class T, class D> inline
|
||||
@@ -155,7 +155,7 @@ T *to_raw_pointer(boost::interprocess::scoped_ptr<T, D> const & p)
|
||||
{ return p.get(); }
|
||||
#endif
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} // namespace boost
|
||||
|
||||
|
||||
@@ -88,10 +88,10 @@ inline void sp_enable_shared_from_this(shared_count<T, VoidAllocator, Deleter> c
|
||||
template<class T, class VoidAllocator, class Deleter>
|
||||
class shared_ptr
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef shared_ptr<T, VoidAllocator, Deleter> this_type;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
|
||||
@@ -171,7 +171,7 @@ class shared_ptr
|
||||
: m_pn()
|
||||
{ this->swap(other); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
template<class Y>
|
||||
shared_ptr(shared_ptr<Y, VoidAllocator, Deleter> const & r, ipcdetail::static_cast_tag)
|
||||
: m_pn( pointer(static_cast<T*>(ipcdetail::to_raw_pointer(r.m_pn.to_raw_pointer())))
|
||||
@@ -193,7 +193,7 @@ class shared_ptr
|
||||
m_pn = ipcdetail::shared_count<T, VoidAllocator, Deleter>();
|
||||
}
|
||||
}
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!Equivalent to shared_ptr(r).swap(*this).
|
||||
//!Never throws
|
||||
@@ -263,14 +263,14 @@ class shared_ptr
|
||||
pointer get() const // never throws
|
||||
{ return m_pn.to_raw_pointer(); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
// implicit conversion to "bool"
|
||||
void unspecified_bool_type_func() const {}
|
||||
typedef void (this_type::*unspecified_bool_type)() const;
|
||||
|
||||
operator unspecified_bool_type() const // never throws
|
||||
{ return !m_pn.to_raw_pointer() ? 0 : &this_type::unspecified_bool_type_func; }
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!Not operator.
|
||||
//!Returns true if this->get() != 0, false otherwise
|
||||
@@ -295,7 +295,7 @@ class shared_ptr
|
||||
void swap(shared_ptr<T, VoidAllocator, Deleter> & other) // never throws
|
||||
{ m_pn.swap(other.m_pn); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
template<class T2, class A2, class Deleter2>
|
||||
bool _internal_less(shared_ptr<T2, A2, Deleter2> const & rhs) const
|
||||
@@ -313,7 +313,7 @@ class shared_ptr
|
||||
template<class T2, class A2, class Deleter2> friend class weak_ptr;
|
||||
|
||||
ipcdetail::shared_count<T, VoidAllocator, Deleter> m_pn; // reference counter
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
}; // shared_ptr
|
||||
|
||||
template<class T, class VoidAllocator, class Deleter, class U, class VoidAllocator2, class Deleter2> inline
|
||||
@@ -404,7 +404,7 @@ inline typename managed_shared_ptr<T, ManagedMemory>::type
|
||||
|
||||
} // namespace interprocess
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1400)
|
||||
// to_raw_pointer() enables boost::mem_fn to recognize shared_ptr
|
||||
@@ -413,7 +413,7 @@ T * to_raw_pointer(boost::interprocess::shared_ptr<T, VoidAllocator, Deleter> co
|
||||
{ return p.get(); }
|
||||
#endif
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} // namespace boost
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
namespace boost{
|
||||
namespace interprocess{
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
template <class T, class D> class unique_ptr;
|
||||
|
||||
namespace ipcdetail {
|
||||
@@ -49,7 +49,7 @@ struct unique_ptr_error<const unique_ptr<T, D> >
|
||||
};
|
||||
|
||||
} //namespace ipcdetail {
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!Template unique_ptr stores a pointer to an object and deletes that object
|
||||
//!using the associated deleter when it is itself destroyed (such as when
|
||||
@@ -81,13 +81,13 @@ struct unique_ptr_error<const unique_ptr<T, D> >
|
||||
template <class T, class D>
|
||||
class unique_ptr
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
struct nat {int for_bool;};
|
||||
struct nat2 {int for_nullptr;};
|
||||
typedef int nat2::*nullptr_t;
|
||||
typedef typename ipcdetail::add_reference<D>::type deleter_reference;
|
||||
typedef typename ipcdetail::add_reference<const D>::type deleter_const_reference;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
|
||||
@@ -324,7 +324,7 @@ class unique_ptr
|
||||
void swap(unique_ptr& u)
|
||||
{ ptr_.swap(u.ptr_); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
boost::compressed_pair<pointer, D> ptr_;
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(unique_ptr)
|
||||
@@ -333,7 +333,7 @@ class unique_ptr
|
||||
|
||||
template <class U, class E> unique_ptr& operator=(unique_ptr<U, E>&);
|
||||
template <class U> typename ipcdetail::unique_ptr_error<U>::type operator=(U&);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
/*
|
||||
template <class T, class D>
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace interprocess{
|
||||
template<class T, class A, class D>
|
||||
class weak_ptr
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
// Borland 5.5.1 specific workarounds
|
||||
typedef weak_ptr<T, A, D> this_type;
|
||||
@@ -61,7 +61,7 @@ class weak_ptr
|
||||
<T>::type reference;
|
||||
typedef typename ipcdetail::add_reference
|
||||
<T>::type const_reference;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
typedef T element_type;
|
||||
@@ -195,7 +195,7 @@ class weak_ptr
|
||||
void swap(this_type & other) // never throws
|
||||
{ ipcdetail::do_swap(m_pn, other.m_pn); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
template<class T2, class A2, class D2>
|
||||
bool _internal_less(weak_ptr<T2, A2, D2> const & rhs) const
|
||||
{ return m_pn < rhs.m_pn; }
|
||||
@@ -213,7 +213,7 @@ class weak_ptr
|
||||
template<class T2, class A2, class D2> friend class weak_ptr;
|
||||
|
||||
ipcdetail::weak_count<T, A, D> m_pn; // reference counter
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
}; // weak_ptr
|
||||
|
||||
template<class T, class A, class D, class U, class A2, class D2> inline
|
||||
|
||||
@@ -93,7 +93,7 @@ class basic_bufferbuf
|
||||
void buffer(CharT *buf, std::size_t length)
|
||||
{ m_buffer = buf; m_length = length; this->set_pointers(); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
void set_pointers()
|
||||
{
|
||||
@@ -245,16 +245,16 @@ class basic_bufferbuf
|
||||
std::ios_base::openmode m_mode;
|
||||
CharT * m_buffer;
|
||||
std::size_t m_length;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
//!A basic_istream class that uses a fixed size character buffer
|
||||
//!as its formatting buffer.
|
||||
template <class CharT, class CharTraits>
|
||||
class basic_ibufferstream :
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private basic_bufferbuf<CharT, CharTraits>,
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public std::basic_istream<CharT, CharTraits>
|
||||
{
|
||||
public: // Typedefs
|
||||
@@ -265,14 +265,14 @@ class basic_ibufferstream :
|
||||
typedef typename std::basic_ios<char_type, CharTraits>::off_type off_type;
|
||||
typedef typename std::basic_ios<char_type, CharTraits>::traits_type traits_type;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef basic_bufferbuf<CharT, CharTraits> bufferbuf_t;
|
||||
typedef std::basic_ios<char_type, CharTraits> basic_ios_t;
|
||||
typedef std::basic_istream<char_type, CharTraits> base_t;
|
||||
bufferbuf_t & get_buf() { return *this; }
|
||||
const bufferbuf_t & get_buf() const{ return *this; }
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructor.
|
||||
@@ -323,9 +323,9 @@ class basic_ibufferstream :
|
||||
//!as its formatting buffer.
|
||||
template <class CharT, class CharTraits>
|
||||
class basic_obufferstream :
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private basic_bufferbuf<CharT, CharTraits>,
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public std::basic_ostream<CharT, CharTraits>
|
||||
{
|
||||
public:
|
||||
@@ -336,14 +336,14 @@ class basic_obufferstream :
|
||||
typedef typename std::basic_ios<char_type, CharTraits>::off_type off_type;
|
||||
typedef typename std::basic_ios<char_type, CharTraits>::traits_type traits_type;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef basic_bufferbuf<CharT, CharTraits> bufferbuf_t;
|
||||
typedef std::basic_ios<char_type, CharTraits> basic_ios_t;
|
||||
typedef std::basic_ostream<char_type, CharTraits> base_t;
|
||||
bufferbuf_t & get_buf() { return *this; }
|
||||
const bufferbuf_t & get_buf() const{ return *this; }
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructor.
|
||||
@@ -395,9 +395,9 @@ class basic_obufferstream :
|
||||
//!as its formatting buffer.
|
||||
template <class CharT, class CharTraits>
|
||||
class basic_bufferstream :
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private basic_bufferbuf<CharT, CharTraits>,
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public std::basic_iostream<CharT, CharTraits>
|
||||
{
|
||||
public: // Typedefs
|
||||
@@ -408,14 +408,14 @@ class basic_bufferstream :
|
||||
typedef typename std::basic_ios<char_type, CharTraits>::off_type off_type;
|
||||
typedef typename std::basic_ios<char_type, CharTraits>::traits_type traits_type;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef basic_bufferbuf<CharT, CharTraits> bufferbuf_t;
|
||||
typedef std::basic_ios<char_type, CharTraits> basic_ios_t;
|
||||
typedef std::basic_iostream<char_type, CharTraits> base_t;
|
||||
bufferbuf_t & get_buf() { return *this; }
|
||||
const bufferbuf_t & get_buf() const{ return *this; }
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructor.
|
||||
|
||||
@@ -67,13 +67,13 @@ class basic_vectorbuf
|
||||
typedef typename CharTraits::off_type off_type;
|
||||
typedef CharTraits traits_type;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef std::basic_streambuf<char_type, traits_type> base_t;
|
||||
|
||||
basic_vectorbuf(const basic_vectorbuf&);
|
||||
basic_vectorbuf & operator =(const basic_vectorbuf&);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructor. Throws if vector_type default
|
||||
@@ -161,7 +161,7 @@ class basic_vectorbuf
|
||||
void clear()
|
||||
{ m_vect.clear(); this->initialize_pointers(); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
//Maximizes high watermark to the initial vector size,
|
||||
//initializes read and write iostream buffers to the capacity
|
||||
@@ -356,7 +356,7 @@ class basic_vectorbuf
|
||||
std::ios_base::openmode m_mode;
|
||||
mutable vector_type m_vect;
|
||||
mutable char_type* mp_high_water;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
//!A basic_istream class that holds a character vector specified by CharVector
|
||||
@@ -366,9 +366,9 @@ class basic_vectorbuf
|
||||
template <class CharVector, class CharTraits>
|
||||
class basic_ivectorstream
|
||||
: public std::basic_istream<typename CharVector::value_type, CharTraits>
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
, private basic_vectorbuf<CharVector, CharTraits>
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
{
|
||||
public:
|
||||
typedef CharVector vector_type;
|
||||
@@ -379,7 +379,7 @@ class basic_ivectorstream
|
||||
typedef typename std::basic_ios<char_type, CharTraits>::off_type off_type;
|
||||
typedef typename std::basic_ios<char_type, CharTraits>::traits_type traits_type;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef basic_vectorbuf<CharVector, CharTraits> vectorbuf_t;
|
||||
typedef std::basic_ios<char_type, CharTraits> basic_ios_t;
|
||||
@@ -387,7 +387,7 @@ class basic_ivectorstream
|
||||
|
||||
vectorbuf_t & get_buf() { return *this; }
|
||||
const vectorbuf_t & get_buf() const{ return *this; }
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
|
||||
@@ -447,9 +447,9 @@ class basic_ivectorstream
|
||||
template <class CharVector, class CharTraits>
|
||||
class basic_ovectorstream
|
||||
: public std::basic_ostream<typename CharVector::value_type, CharTraits>
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
, private basic_vectorbuf<CharVector, CharTraits>
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
{
|
||||
public:
|
||||
typedef CharVector vector_type;
|
||||
@@ -460,7 +460,7 @@ class basic_ovectorstream
|
||||
typedef typename std::basic_ios<char_type, CharTraits>::off_type off_type;
|
||||
typedef typename std::basic_ios<char_type, CharTraits>::traits_type traits_type;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef basic_vectorbuf<CharVector, CharTraits> vectorbuf_t;
|
||||
typedef std::basic_ios<char_type, CharTraits> basic_ios_t;
|
||||
@@ -468,7 +468,7 @@ class basic_ovectorstream
|
||||
|
||||
vectorbuf_t & get_buf() { return *this; }
|
||||
const vectorbuf_t & get_buf()const { return *this; }
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructor. Throws if vector_type default
|
||||
@@ -522,9 +522,9 @@ class basic_ovectorstream
|
||||
template <class CharVector, class CharTraits>
|
||||
class basic_vectorstream
|
||||
: public std::basic_iostream<typename CharVector::value_type, CharTraits>
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
, private basic_vectorbuf<CharVector, CharTraits>
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
{
|
||||
public:
|
||||
typedef CharVector vector_type;
|
||||
@@ -535,7 +535,7 @@ class basic_vectorstream
|
||||
typedef typename std::basic_ios<char_type, CharTraits>::off_type off_type;
|
||||
typedef typename std::basic_ios<char_type, CharTraits>::traits_type traits_type;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef basic_vectorbuf<CharVector, CharTraits> vectorbuf_t;
|
||||
typedef std::basic_ios<char_type, CharTraits> basic_ios_t;
|
||||
@@ -543,7 +543,7 @@ class basic_vectorstream
|
||||
|
||||
vectorbuf_t & get_buf() { return *this; }
|
||||
const vectorbuf_t & get_buf() const{ return *this; }
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructor. Throws if vector_type default
|
||||
|
||||
@@ -39,10 +39,10 @@ namespace interprocess {
|
||||
//!process so just use file locks to synchronize threads from different processes.
|
||||
class file_lock
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(file_lock)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructs an empty file mapping.
|
||||
@@ -139,11 +139,11 @@ class file_lock
|
||||
//!Effects: The calling thread releases the sharable ownership of the mutex.
|
||||
//!Throws: An exception derived from interprocess_exception on error.
|
||||
void unlock_sharable();
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
file_handle_t m_file_hnd;
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
inline file_lock::file_lock(const char *name)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
# pragma once
|
||||
#endif
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
@@ -39,7 +39,7 @@
|
||||
#define BOOST_INTERPROCESS_USE_GENERIC_EMULATION
|
||||
#endif
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!\file
|
||||
//!Describes process-shared variables interprocess_condition class
|
||||
@@ -62,12 +62,12 @@ class named_condition;
|
||||
//!functions.
|
||||
class interprocess_condition
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
interprocess_condition(const interprocess_condition &);
|
||||
interprocess_condition &operator=(const interprocess_condition &);
|
||||
friend class named_condition;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Constructs a interprocess_condition. On error throws interprocess_exception.
|
||||
@@ -130,7 +130,7 @@ class interprocess_condition
|
||||
return m_condition.timed_wait(internal_lock, abs_time, pred);
|
||||
}
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
private:
|
||||
#if defined (BOOST_INTERPROCESS_USE_GENERIC_EMULATION)
|
||||
@@ -145,7 +145,7 @@ class interprocess_condition
|
||||
#else
|
||||
#error "Unknown platform for interprocess_mutex"
|
||||
#endif
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
} //namespace interprocess
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
# pragma once
|
||||
#endif
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
#include <boost/interprocess/detail/config_begin.hpp>
|
||||
#include <boost/interprocess/detail/workaround.hpp>
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <boost/interprocess/exceptions.hpp>
|
||||
#include <boost/interprocess/sync/detail/condition_any_algorithm.hpp>
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!\file
|
||||
//!Describes process-shared variables interprocess_condition_any class
|
||||
@@ -51,7 +51,7 @@ namespace interprocess {
|
||||
//!functions.
|
||||
class interprocess_condition_any
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
interprocess_condition_any(const interprocess_condition_any &);
|
||||
interprocess_condition_any &operator=(const interprocess_condition_any &);
|
||||
@@ -72,7 +72,7 @@ class interprocess_condition_any
|
||||
|
||||
ipcdetail::condition_any_wrapper<members> m_cond;
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
//!Constructs a interprocess_condition_any. On error throws interprocess_exception.
|
||||
interprocess_condition_any(){}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#ifndef BOOST_INTERPROCESS_MUTEX_HPP
|
||||
#define BOOST_INTERPROCESS_MUTEX_HPP
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# pragma once
|
||||
@@ -50,7 +50,7 @@ class mutex_traits;
|
||||
|
||||
#endif
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!\file
|
||||
//!Describes a mutex class that can be placed in memory shared by
|
||||
@@ -65,7 +65,7 @@ class interprocess_condition;
|
||||
//!shared between processes. Allows timed lock tries
|
||||
class interprocess_mutex
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
interprocess_mutex(const interprocess_mutex &);
|
||||
interprocess_mutex &operator=(const interprocess_mutex &);
|
||||
@@ -89,7 +89,7 @@ class interprocess_mutex
|
||||
#error "Unknown platform for interprocess_mutex"
|
||||
#endif
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
|
||||
//!Constructor.
|
||||
@@ -127,7 +127,7 @@ class interprocess_mutex
|
||||
//!Throws: interprocess_exception on error.
|
||||
void unlock();
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
internal_mutex_type &internal_mutex()
|
||||
{ return m_mutex; }
|
||||
|
||||
@@ -136,7 +136,7 @@ class interprocess_mutex
|
||||
|
||||
private:
|
||||
internal_mutex_type m_mutex;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
} //namespace interprocess {
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#ifndef BOOST_INTERPROCESS_RECURSIVE_MUTEX_HPP
|
||||
#define BOOST_INTERPROCESS_RECURSIVE_MUTEX_HPP
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# pragma once
|
||||
@@ -64,7 +64,7 @@ class mutex_traits;
|
||||
|
||||
#endif
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!\file
|
||||
//!Describes interprocess_recursive_mutex and shared_recursive_try_mutex classes
|
||||
@@ -77,11 +77,11 @@ namespace interprocess {
|
||||
//!process. Allows timed lock tries
|
||||
class interprocess_recursive_mutex
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
interprocess_recursive_mutex(const interprocess_recursive_mutex &);
|
||||
interprocess_recursive_mutex &operator=(const interprocess_recursive_mutex &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
//!Constructor.
|
||||
//!Throws interprocess_exception on error.
|
||||
@@ -116,7 +116,7 @@ class interprocess_recursive_mutex
|
||||
//! same number of times it is locked.
|
||||
//!Throws: interprocess_exception on error.
|
||||
void unlock();
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
|
||||
#if defined (BOOST_INTERPROCESS_USE_GENERIC_EMULATION)
|
||||
@@ -133,7 +133,7 @@ class interprocess_recursive_mutex
|
||||
#else
|
||||
#error "Unknown platform for interprocess_mutex"
|
||||
#endif
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
} //namespace interprocess {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#ifndef BOOST_INTERPROCESS_SEMAPHORE_HPP
|
||||
#define BOOST_INTERPROCESS_SEMAPHORE_HPP
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# pragma once
|
||||
@@ -37,7 +37,7 @@
|
||||
#define BOOST_INTERPROCESS_USE_GENERIC_EMULATION
|
||||
#endif
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!\file
|
||||
//!Describes a interprocess_semaphore class for inter-process synchronization
|
||||
@@ -49,11 +49,11 @@ namespace interprocess {
|
||||
//!shared between processes. Allows timed lock tries
|
||||
class interprocess_semaphore
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
interprocess_semaphore(const interprocess_semaphore &);
|
||||
interprocess_semaphore &operator=(const interprocess_semaphore &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
//!Creates a interprocess_semaphore with the given initial count.
|
||||
//!interprocess_exception if there is an error.*/
|
||||
@@ -87,7 +87,7 @@ class interprocess_semaphore
|
||||
|
||||
//!Returns the interprocess_semaphore count
|
||||
// int get_count() const;
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
#if defined(BOOST_INTERPROCESS_USE_GENERIC_EMULATION)
|
||||
#undef BOOST_INTERPROCESS_USE_GENERIC_EMULATION
|
||||
@@ -99,7 +99,7 @@ class interprocess_semaphore
|
||||
#undef BOOST_INTERPROCESS_USE_POSIX
|
||||
ipcdetail::posix_semaphore m_sem;
|
||||
#endif //#if defined(BOOST_INTERPROCESS_USE_GENERIC_EMULATION)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
} //namespace interprocess {
|
||||
|
||||
@@ -109,7 +109,7 @@ class interprocess_sharable_mutex
|
||||
//!Throws: An exception derived from interprocess_exception on error.
|
||||
void unlock_sharable();
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef scoped_lock<interprocess_mutex> scoped_lock_t;
|
||||
|
||||
@@ -155,10 +155,10 @@ class interprocess_sharable_mutex
|
||||
= ~(unsigned(1) << (sizeof(unsigned)*CHAR_BIT-1));
|
||||
};
|
||||
typedef base_constants_t<0> constants;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
template <int Dummy>
|
||||
const unsigned interprocess_sharable_mutex::base_constants_t<Dummy>::max_readers;
|
||||
@@ -335,7 +335,7 @@ inline void interprocess_sharable_mutex::unlock_sharable()
|
||||
}
|
||||
}
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace interprocess {
|
||||
} //namespace boost {
|
||||
|
||||
@@ -197,7 +197,7 @@ class interprocess_upgradable_mutex
|
||||
//!Throws: An exception derived from interprocess_exception on error.
|
||||
bool try_unlock_sharable_and_lock_upgradable();
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef scoped_lock<interprocess_mutex> scoped_lock_t;
|
||||
|
||||
@@ -266,10 +266,10 @@ class interprocess_upgradable_mutex
|
||||
= ~(unsigned(3) << (sizeof(unsigned)*CHAR_BIT-2));
|
||||
};
|
||||
typedef base_constants_t<0> constants;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
template <int Dummy>
|
||||
const unsigned interprocess_upgradable_mutex::base_constants_t<Dummy>::max_readers;
|
||||
@@ -662,7 +662,7 @@ inline bool interprocess_upgradable_mutex::try_unlock_sharable_and_lock_upgradab
|
||||
return true;
|
||||
}
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace interprocess {
|
||||
} //namespace boost {
|
||||
|
||||
@@ -36,21 +36,21 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
namespace ipcdetail{ class interprocess_tester; }
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//! A global condition variable that can be created by name.
|
||||
//! This condition variable is designed to work with named_mutex and
|
||||
//! can't be placed in shared memory or memory mapped files.
|
||||
class named_condition
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
named_condition();
|
||||
named_condition(const named_condition &);
|
||||
named_condition &operator=(const named_condition &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
//!Creates a global condition with a name.
|
||||
//!If the condition can't be created throws interprocess_exception
|
||||
@@ -114,7 +114,7 @@ class named_condition
|
||||
//!Returns false on error. Never throws.
|
||||
static bool remove(const char *name);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
#if defined(BOOST_INTERPROCESS_USE_WINDOWS)
|
||||
typedef ipcdetail::windows_named_condition condition_type;
|
||||
@@ -126,10 +126,10 @@ class named_condition
|
||||
friend class ipcdetail::interprocess_tester;
|
||||
void dont_close_on_destruction()
|
||||
{ ipcdetail::interprocess_tester::dont_close_on_destruction(m_cond); }
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
inline named_condition::~named_condition()
|
||||
{}
|
||||
@@ -187,7 +187,7 @@ inline bool named_condition::remove(const char *name)
|
||||
return condition_type::remove(name);
|
||||
}
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace interprocess
|
||||
} //namespace boost
|
||||
|
||||
@@ -36,21 +36,21 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
namespace ipcdetail{ class interprocess_tester; }
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//! A global condition variable that can be created by name.
|
||||
//! This condition variable is designed to work with named_mutex and
|
||||
//! can't be placed in shared memory or memory mapped files.
|
||||
class named_condition_any
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
named_condition_any();
|
||||
named_condition_any(const named_condition_any &);
|
||||
named_condition_any &operator=(const named_condition_any &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
//!Creates a global condition with a name.
|
||||
//!If the condition can't be created throws interprocess_exception
|
||||
@@ -128,7 +128,7 @@ class named_condition_any
|
||||
static bool remove(const char *name)
|
||||
{ return condition_any_type::remove(name); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
#if defined(BOOST_INTERPROCESS_USE_WINDOWS)
|
||||
typedef ipcdetail::windows_named_condition_any condition_any_type;
|
||||
@@ -140,7 +140,7 @@ class named_condition_any
|
||||
friend class ipcdetail::interprocess_tester;
|
||||
void dont_close_on_destruction()
|
||||
{ ipcdetail::interprocess_tester::dont_close_on_destruction(m_cond); }
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
} //namespace interprocess
|
||||
|
||||
@@ -46,14 +46,14 @@ class named_condition;
|
||||
//!each process should have it's own named_mutex.
|
||||
class named_mutex
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Non-copyable
|
||||
named_mutex();
|
||||
named_mutex(const named_mutex &);
|
||||
named_mutex &operator=(const named_mutex &);
|
||||
friend class named_condition;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Creates a global mutex with a name.
|
||||
@@ -103,7 +103,7 @@ class named_mutex
|
||||
//!Returns false on error. Never throws.
|
||||
static bool remove(const char *name);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
friend class ipcdetail::interprocess_tester;
|
||||
void dont_close_on_destruction();
|
||||
@@ -123,10 +123,10 @@ class named_mutex
|
||||
|
||||
internal_mutex_type m_mut;
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
inline named_mutex::named_mutex(create_only_t, const char *name, const permissions &perm)
|
||||
: m_mut(create_only_t(), name, perm)
|
||||
@@ -161,7 +161,7 @@ inline bool named_mutex::timed_lock(const boost::posix_time::ptime &abs_time)
|
||||
inline bool named_mutex::remove(const char *name)
|
||||
{ return internal_mutex_type::remove(name); }
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace interprocess {
|
||||
} //namespace boost {
|
||||
|
||||
@@ -33,21 +33,21 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
namespace ipcdetail{ class interprocess_tester; }
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//!A recursive mutex with a global name, so it can be found from different
|
||||
//!processes. This mutex can't be placed in shared memory, and
|
||||
//!each process should have it's own named_recursive_mutex.
|
||||
class named_recursive_mutex
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
named_recursive_mutex();
|
||||
named_recursive_mutex(const named_recursive_mutex &);
|
||||
named_recursive_mutex &operator=(const named_recursive_mutex &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
|
||||
//!Creates a global recursive_mutex with a name.
|
||||
@@ -97,7 +97,7 @@ class named_recursive_mutex
|
||||
//!from the system
|
||||
static bool remove(const char *name);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
friend class ipcdetail::interprocess_tester;
|
||||
void dont_close_on_destruction();
|
||||
@@ -110,10 +110,10 @@ class named_recursive_mutex
|
||||
#endif
|
||||
impl_t m_mut;
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
inline named_recursive_mutex::~named_recursive_mutex()
|
||||
{}
|
||||
@@ -148,7 +148,7 @@ inline bool named_recursive_mutex::timed_lock(const boost::posix_time::ptime &ab
|
||||
inline bool named_recursive_mutex::remove(const char *name)
|
||||
{ return impl_t::remove(name); }
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace interprocess {
|
||||
} //namespace boost {
|
||||
|
||||
@@ -44,13 +44,13 @@ namespace interprocess {
|
||||
//!acknowledgment mechanisms.
|
||||
class named_semaphore
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Non-copyable
|
||||
named_semaphore();
|
||||
named_semaphore(const named_semaphore &);
|
||||
named_semaphore &operator=(const named_semaphore &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Creates a global semaphore with a name, and an initial count.
|
||||
@@ -104,7 +104,7 @@ class named_semaphore
|
||||
//!Returns false on error. Never throws.
|
||||
static bool remove(const char *name);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
friend class ipcdetail::interprocess_tester;
|
||||
void dont_close_on_destruction();
|
||||
@@ -118,10 +118,10 @@ class named_semaphore
|
||||
typedef ipcdetail::shm_named_semaphore impl_t;
|
||||
#endif
|
||||
impl_t m_sem;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
inline named_semaphore::named_semaphore
|
||||
(create_only_t, const char *name, unsigned int initialCount, const permissions &perm)
|
||||
@@ -158,7 +158,7 @@ inline bool named_semaphore::timed_wait(const boost::posix_time::ptime &abs_time
|
||||
inline bool named_semaphore::remove(const char *name)
|
||||
{ return impl_t::remove(name); }
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace interprocess {
|
||||
} //namespace boost {
|
||||
|
||||
@@ -32,9 +32,9 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
namespace ipcdetail{ class interprocess_tester; }
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
class named_condition;
|
||||
|
||||
@@ -43,12 +43,12 @@ class named_condition;
|
||||
//!each process should have it's own named sharable mutex.
|
||||
class named_sharable_mutex
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
named_sharable_mutex();
|
||||
named_sharable_mutex(const named_sharable_mutex &);
|
||||
named_sharable_mutex &operator=(const named_sharable_mutex &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
|
||||
//!Creates a global sharable mutex with a name.
|
||||
@@ -136,7 +136,7 @@ class named_sharable_mutex
|
||||
//!Returns false on error. Never throws.
|
||||
static bool remove(const char *name);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
friend class ipcdetail::interprocess_tester;
|
||||
void dont_close_on_destruction();
|
||||
@@ -147,10 +147,10 @@ class named_sharable_mutex
|
||||
typedef ipcdetail::managed_open_or_create_impl<shared_memory_object, 0, true, false> open_create_impl_t;
|
||||
open_create_impl_t m_shmem;
|
||||
typedef ipcdetail::named_creation_functor<interprocess_sharable_mutex> construct_func_t;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
inline named_sharable_mutex::~named_sharable_mutex()
|
||||
{}
|
||||
@@ -220,7 +220,7 @@ inline bool named_sharable_mutex::timed_lock_sharable
|
||||
inline bool named_sharable_mutex::remove(const char *name)
|
||||
{ return shared_memory_object::remove(name); }
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace interprocess {
|
||||
} //namespace boost {
|
||||
|
||||
@@ -32,9 +32,9 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
namespace ipcdetail{ class interprocess_tester; }
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
class named_condition;
|
||||
|
||||
@@ -43,13 +43,13 @@ class named_condition;
|
||||
//!each process should have it's own named upgradable mutex.
|
||||
class named_upgradable_mutex
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
named_upgradable_mutex();
|
||||
named_upgradable_mutex(const named_upgradable_mutex &);
|
||||
named_upgradable_mutex &operator=(const named_upgradable_mutex &);
|
||||
friend class named_condition;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
|
||||
//!Creates a global upgradable mutex with a name.
|
||||
@@ -227,7 +227,7 @@ class named_upgradable_mutex
|
||||
//!Returns false on error. Never throws.
|
||||
static bool remove(const char *name);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
friend class ipcdetail::interprocess_tester;
|
||||
void dont_close_on_destruction();
|
||||
@@ -238,10 +238,10 @@ class named_upgradable_mutex
|
||||
typedef ipcdetail::managed_open_or_create_impl<shared_memory_object, 0, true, false> open_create_impl_t;
|
||||
open_create_impl_t m_shmem;
|
||||
typedef ipcdetail::named_creation_functor<interprocess_upgradable_mutex> construct_func_t;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
inline named_upgradable_mutex::~named_upgradable_mutex()
|
||||
{}
|
||||
@@ -349,7 +349,7 @@ inline bool named_upgradable_mutex::try_unlock_sharable_and_lock_upgradable()
|
||||
inline bool named_upgradable_mutex::remove(const char *name)
|
||||
{ return shared_memory_object::remove(name); }
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace interprocess {
|
||||
} //namespace boost {
|
||||
|
||||
@@ -33,10 +33,10 @@ namespace interprocess {
|
||||
//!simulates a successful operation.
|
||||
class null_mutex
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
null_mutex(const null_mutex&);
|
||||
null_mutex &operator= (const null_mutex&);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
|
||||
//!Constructor.
|
||||
|
||||
@@ -32,13 +32,13 @@ class named_condition;
|
||||
|
||||
class posix_named_mutex
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
posix_named_mutex();
|
||||
posix_named_mutex(const posix_named_mutex &);
|
||||
posix_named_mutex &operator=(const posix_named_mutex &);
|
||||
friend class named_condition;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
posix_named_mutex(create_only_t create_only, const char *name, const permissions &perm = permissions());
|
||||
@@ -55,16 +55,16 @@ class posix_named_mutex
|
||||
bool timed_lock(const boost::posix_time::ptime &abs_time);
|
||||
static bool remove(const char *name);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
friend class interprocess_tester;
|
||||
void dont_close_on_destruction();
|
||||
|
||||
posix_named_semaphore m_sem;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
inline posix_named_mutex::posix_named_mutex(create_only_t, const char *name, const permissions &perm)
|
||||
: m_sem(create_only, name, 1, perm)
|
||||
@@ -99,7 +99,7 @@ inline bool posix_named_mutex::timed_lock(const boost::posix_time::ptime &abs_ti
|
||||
inline bool posix_named_mutex::remove(const char *name)
|
||||
{ return posix_named_semaphore::remove(name); }
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace ipcdetail {
|
||||
} //namespace interprocess {
|
||||
|
||||
@@ -23,9 +23,9 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
namespace ipcdetail{ class interprocess_tester; }
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
namespace ipcdetail {
|
||||
|
||||
|
||||
@@ -50,12 +50,12 @@ namespace interprocess {
|
||||
template <class Mutex>
|
||||
class scoped_lock
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef scoped_lock<Mutex> this_type;
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(scoped_lock)
|
||||
typedef bool this_type::*unspecified_bool_type;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
|
||||
typedef Mutex mutex_type;
|
||||
@@ -357,11 +357,11 @@ class scoped_lock
|
||||
std::swap(m_locked, other.m_locked);
|
||||
}
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
mutex_type *mp_mutex;
|
||||
bool m_locked;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
} // namespace interprocess
|
||||
|
||||
@@ -51,13 +51,13 @@ class sharable_lock
|
||||
{
|
||||
public:
|
||||
typedef SharableMutex mutex_type;
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef sharable_lock<SharableMutex> this_type;
|
||||
explicit sharable_lock(scoped_lock<mutex_type>&);
|
||||
typedef bool this_type::*unspecified_bool_type;
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(sharable_lock)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
|
||||
//!Effects: Default constructs a sharable_lock.
|
||||
@@ -290,11 +290,11 @@ class sharable_lock
|
||||
std::swap(m_locked, other.m_locked);
|
||||
}
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
mutex_type *mp_mutex;
|
||||
bool m_locked;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
} // namespace interprocess
|
||||
|
||||
@@ -44,21 +44,21 @@ namespace boost {
|
||||
namespace interprocess {
|
||||
namespace ipcdetail {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
class interprocess_tester;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//! A global condition variable that can be created by name.
|
||||
//! This condition variable is designed to work with named_mutex and
|
||||
//! can't be placed in shared memory or memory mapped files.
|
||||
class shm_named_condition
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
shm_named_condition();
|
||||
shm_named_condition(const shm_named_condition &);
|
||||
shm_named_condition &operator=(const shm_named_condition &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
//!Creates a global condition with a name.
|
||||
//!If the condition can't be created throws interprocess_exception
|
||||
@@ -122,7 +122,7 @@ class shm_named_condition
|
||||
//!Returns false on error. Never throws.
|
||||
static bool remove(const char *name);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
|
||||
#if defined (BOOST_INTERPROCESS_NAMED_MUTEX_USES_POSIX_SEMAPHORES)
|
||||
@@ -156,10 +156,10 @@ class shm_named_condition
|
||||
|
||||
template <class T, class Arg> friend class boost::interprocess::ipcdetail::named_creation_functor;
|
||||
typedef boost::interprocess::ipcdetail::named_creation_functor<internal_condition> construct_func_t;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
inline shm_named_condition::~shm_named_condition()
|
||||
{}
|
||||
@@ -224,7 +224,7 @@ inline bool shm_named_condition::timed_wait
|
||||
inline bool shm_named_condition::remove(const char *name)
|
||||
{ return shared_memory_object::remove(name); }
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace ipcdetail
|
||||
} //namespace interprocess
|
||||
|
||||
@@ -39,21 +39,21 @@ namespace boost {
|
||||
namespace interprocess {
|
||||
namespace ipcdetail {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
class interprocess_tester;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//! A global condition variable that can be created by name.
|
||||
//! This condition variable is designed to work with named_mutex and
|
||||
//! can't be placed in shared memory or memory mapped files.
|
||||
class shm_named_condition_any
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
shm_named_condition_any();
|
||||
shm_named_condition_any(const shm_named_condition_any &);
|
||||
shm_named_condition_any &operator=(const shm_named_condition_any &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
//!Creates a global condition with a name.
|
||||
//!If the condition can't be created throws interprocess_exception
|
||||
@@ -149,7 +149,7 @@ class shm_named_condition_any
|
||||
static bool remove(const char *name)
|
||||
{ return shared_memory_object::remove(name); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
|
||||
class internal_condition_members
|
||||
@@ -179,7 +179,7 @@ class shm_named_condition_any
|
||||
|
||||
template <class T, class Arg> friend class boost::interprocess::ipcdetail::named_creation_functor;
|
||||
typedef boost::interprocess::ipcdetail::named_creation_functor<internal_condition> construct_func_t;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
} //namespace ipcdetail
|
||||
|
||||
@@ -42,14 +42,14 @@ class named_condition;
|
||||
//!each process should have it's own named mutex.
|
||||
class shm_named_mutex
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Non-copyable
|
||||
shm_named_mutex();
|
||||
shm_named_mutex(const shm_named_mutex &);
|
||||
shm_named_mutex &operator=(const shm_named_mutex &);
|
||||
friend class named_condition;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Creates a global interprocess_mutex with a name.
|
||||
@@ -99,7 +99,7 @@ class shm_named_mutex
|
||||
//!Returns false on error. Never throws.
|
||||
static bool remove(const char *name);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
typedef interprocess_mutex internal_mutex_type;
|
||||
interprocess_mutex &internal_mutex()
|
||||
{ return *static_cast<interprocess_mutex*>(m_shmem.get_user_address()); }
|
||||
@@ -110,10 +110,10 @@ class shm_named_mutex
|
||||
typedef ipcdetail::managed_open_or_create_impl<shared_memory_object, 0, true, false> open_create_impl_t;
|
||||
open_create_impl_t m_shmem;
|
||||
typedef ipcdetail::named_creation_functor<interprocess_mutex> construct_func_t;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
inline void shm_named_mutex::dont_close_on_destruction()
|
||||
{ ipcdetail::interprocess_tester::dont_close_on_destruction(m_shmem); }
|
||||
@@ -166,7 +166,7 @@ inline bool shm_named_mutex::timed_lock(const boost::posix_time::ptime &abs_time
|
||||
inline bool shm_named_mutex::remove(const char *name)
|
||||
{ return shared_memory_object::remove(name); }
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace ipcdetail {
|
||||
} //namespace interprocess {
|
||||
|
||||
@@ -33,18 +33,18 @@ namespace boost {
|
||||
namespace interprocess {
|
||||
namespace ipcdetail {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
class interprocess_tester;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
class shm_named_recursive_mutex
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
shm_named_recursive_mutex();
|
||||
shm_named_recursive_mutex(const shm_named_recursive_mutex &);
|
||||
shm_named_recursive_mutex &operator=(const shm_named_recursive_mutex &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
|
||||
//!Creates a global recursive_mutex with a name.
|
||||
@@ -94,7 +94,7 @@ class shm_named_recursive_mutex
|
||||
//!from the system
|
||||
static bool remove(const char *name);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
friend class interprocess_tester;
|
||||
void dont_close_on_destruction();
|
||||
@@ -104,7 +104,7 @@ class shm_named_recursive_mutex
|
||||
typedef ipcdetail::managed_open_or_create_impl<shared_memory_object, 0, true, false> open_create_impl_t;
|
||||
open_create_impl_t m_shmem;
|
||||
typedef named_creation_functor<interprocess_recursive_mutex> construct_func_t;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
inline shm_named_recursive_mutex::~shm_named_recursive_mutex()
|
||||
|
||||
@@ -33,13 +33,13 @@ namespace ipcdetail {
|
||||
|
||||
class shm_named_semaphore
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Non-copyable
|
||||
shm_named_semaphore();
|
||||
shm_named_semaphore(const shm_named_semaphore &);
|
||||
shm_named_semaphore &operator=(const shm_named_semaphore &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
shm_named_semaphore(create_only_t, const char *name, unsigned int initialCount, const permissions &perm = permissions());
|
||||
@@ -57,7 +57,7 @@ class shm_named_semaphore
|
||||
|
||||
static bool remove(const char *name);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
friend class interprocess_tester;
|
||||
void dont_close_on_destruction();
|
||||
@@ -68,7 +68,7 @@ class shm_named_semaphore
|
||||
typedef ipcdetail::managed_open_or_create_impl<shared_memory_object, 0, true, false> open_create_impl_t;
|
||||
open_create_impl_t m_shmem;
|
||||
typedef named_creation_functor<interprocess_semaphore, int> construct_func_t;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
inline shm_named_semaphore::~shm_named_semaphore()
|
||||
|
||||
@@ -32,9 +32,9 @@
|
||||
namespace boost {
|
||||
namespace interprocess {
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
namespace ipcdetail{ class interprocess_tester; }
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
class named_condition;
|
||||
|
||||
@@ -43,13 +43,13 @@ class named_condition;
|
||||
//!each process should have it's own named upgradable mutex.
|
||||
class named_upgradable_mutex
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable
|
||||
named_upgradable_mutex();
|
||||
named_upgradable_mutex(const named_upgradable_mutex &);
|
||||
named_upgradable_mutex &operator=(const named_upgradable_mutex &);
|
||||
friend class named_condition;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
|
||||
//!Creates a global upgradable mutex with a name.
|
||||
@@ -221,7 +221,7 @@ class named_upgradable_mutex
|
||||
//!Returns false on error. Never throws.
|
||||
static bool remove(const char *name);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
friend class ipcdetail::interprocess_tester;
|
||||
void dont_close_on_destruction();
|
||||
@@ -232,10 +232,10 @@ class named_upgradable_mutex
|
||||
typedef ipcdetail::managed_open_or_create_impl<shared_memory_object, 0, true, false> open_create_impl_t;
|
||||
open_create_impl_t m_shmem;
|
||||
typedef ipcdetail::named_creation_functor<interprocess_upgradable_mutex> construct_func_t;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
inline named_upgradable_mutex::~named_upgradable_mutex()
|
||||
{}
|
||||
@@ -343,7 +343,7 @@ inline bool named_upgradable_mutex::try_unlock_sharable_and_lock_upgradable()
|
||||
inline bool named_upgradable_mutex::remove(const char *name)
|
||||
{ return shared_memory_object::remove(name); }
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace interprocess {
|
||||
} //namespace boost {
|
||||
|
||||
@@ -52,13 +52,13 @@ class upgradable_lock
|
||||
{
|
||||
public:
|
||||
typedef UpgradableMutex mutex_type;
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
typedef upgradable_lock<UpgradableMutex> this_type;
|
||||
explicit upgradable_lock(scoped_lock<mutex_type>&);
|
||||
typedef bool this_type::*unspecified_bool_type;
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(upgradable_lock)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
public:
|
||||
|
||||
//!Effects: Default constructs a upgradable_lock.
|
||||
@@ -294,11 +294,11 @@ class upgradable_lock
|
||||
std::swap(m_locked, other.m_locked);
|
||||
}
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
mutex_type *mp_mutex;
|
||||
bool m_locked;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
} // namespace interprocess
|
||||
|
||||
@@ -31,13 +31,13 @@ namespace ipcdetail {
|
||||
|
||||
class windows_named_condition_any
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Non-copyable
|
||||
windows_named_condition_any();
|
||||
windows_named_condition_any(const windows_named_condition_any &);
|
||||
windows_named_condition_any &operator=(const windows_named_condition_any &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
windows_named_condition_any
|
||||
@@ -94,7 +94,7 @@ class windows_named_condition_any
|
||||
static bool remove(const char *name)
|
||||
{ return windows_named_sync::remove(name); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
|
||||
void dont_close_on_destruction()
|
||||
@@ -228,7 +228,7 @@ class windows_named_condition_any
|
||||
|
||||
windows_named_sync m_named_sync;
|
||||
ipcdetail::condition_8a_wrapper<condition_data> m_condition_data;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
} //namespace ipcdetail {
|
||||
|
||||
@@ -35,13 +35,13 @@ namespace ipcdetail {
|
||||
|
||||
class windows_named_mutex
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Non-copyable
|
||||
windows_named_mutex();
|
||||
windows_named_mutex(const windows_named_mutex &);
|
||||
windows_named_mutex &operator=(const windows_named_mutex &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
windows_named_mutex(create_only_t, const char *name, const permissions &perm = permissions());
|
||||
@@ -59,7 +59,7 @@ class windows_named_mutex
|
||||
|
||||
static bool remove(const char *name);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
friend class interprocess_tester;
|
||||
void dont_close_on_destruction();
|
||||
@@ -106,7 +106,7 @@ class windows_named_mutex
|
||||
private:
|
||||
winapi_mutex_wrapper& m_mtx_wrapper;
|
||||
};
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
inline windows_named_mutex::~windows_named_mutex()
|
||||
|
||||
@@ -27,13 +27,13 @@ class windows_named_recursive_mutex
|
||||
//Windows mutexes based on CreateMutex are already recursive...
|
||||
: public windows_named_mutex
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Non-copyable
|
||||
windows_named_recursive_mutex();
|
||||
windows_named_recursive_mutex(const windows_named_mutex &);
|
||||
windows_named_recursive_mutex &operator=(const windows_named_mutex &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
windows_named_recursive_mutex(create_only_t, const char *name, const permissions &perm = permissions())
|
||||
|
||||
@@ -32,13 +32,13 @@ namespace ipcdetail {
|
||||
|
||||
class windows_named_semaphore
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Non-copyable
|
||||
windows_named_semaphore();
|
||||
windows_named_semaphore(const windows_named_semaphore &);
|
||||
windows_named_semaphore &operator=(const windows_named_semaphore &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
windows_named_semaphore(create_only_t, const char *name, unsigned int initialCount, const permissions &perm = permissions());
|
||||
@@ -56,7 +56,7 @@ class windows_named_semaphore
|
||||
|
||||
static bool remove(const char *name);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
friend class interprocess_tester;
|
||||
void dont_close_on_destruction();
|
||||
@@ -109,7 +109,7 @@ class windows_named_semaphore
|
||||
winapi_semaphore_wrapper& m_sem_wrapper;
|
||||
};
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
inline windows_named_semaphore::~windows_named_semaphore()
|
||||
|
||||
@@ -47,12 +47,12 @@ inline windows_named_sync_interface::~windows_named_sync_interface()
|
||||
|
||||
class windows_named_sync
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Non-copyable
|
||||
windows_named_sync(const windows_named_sync &);
|
||||
windows_named_sync &operator=(const windows_named_sync &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
windows_named_sync();
|
||||
@@ -61,11 +61,11 @@ class windows_named_sync
|
||||
|
||||
static bool remove(const char *name);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
void *m_file_hnd;
|
||||
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
inline windows_named_sync::windows_named_sync()
|
||||
|
||||
@@ -32,12 +32,12 @@ namespace ipcdetail {
|
||||
|
||||
class winapi_mutex_functions
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Non-copyable
|
||||
winapi_mutex_functions(const winapi_mutex_functions &);
|
||||
winapi_mutex_functions &operator=(const winapi_mutex_functions &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
winapi_mutex_functions(void *mtx_hnd)
|
||||
@@ -56,22 +56,22 @@ class winapi_mutex_functions
|
||||
bool timed_lock(const boost::posix_time::ptime &abs_time)
|
||||
{ return winapi_wrapper_timed_wait_for_single_object(m_mtx_hnd, abs_time); }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
protected:
|
||||
void *m_mtx_hnd;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
//Swappable mutex wrapper
|
||||
class winapi_mutex_wrapper
|
||||
: public winapi_mutex_functions
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Non-copyable
|
||||
winapi_mutex_wrapper(const winapi_mutex_wrapper &);
|
||||
winapi_mutex_wrapper &operator=(const winapi_mutex_wrapper &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
//Note that Windows API does not return winapi::invalid_handle_value
|
||||
//when failing to create/open a mutex, but a nullptr
|
||||
|
||||
@@ -32,12 +32,12 @@ namespace ipcdetail {
|
||||
|
||||
class winapi_semaphore_functions
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
//Non-copyable
|
||||
winapi_semaphore_functions(const winapi_semaphore_functions &);
|
||||
winapi_semaphore_functions &operator=(const winapi_semaphore_functions &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
winapi_semaphore_functions(void *hnd)
|
||||
@@ -75,10 +75,10 @@ class winapi_semaphore_functions
|
||||
return l_limit;
|
||||
}
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
protected:
|
||||
void *m_sem_hnd;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -42,11 +42,11 @@ namespace interprocess {
|
||||
//!that undoes the operation if the process crashes.
|
||||
class xsi_named_mutex
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable and non-assignable
|
||||
xsi_named_mutex(xsi_named_mutex &);
|
||||
xsi_named_mutex &operator=(xsi_named_mutex &);
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(xsi_named_mutex)
|
||||
@@ -105,7 +105,7 @@ class xsi_named_mutex
|
||||
|
||||
void unlock();
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
|
||||
//!Closes a previously opened file mapping. Never throws.
|
||||
@@ -121,10 +121,10 @@ class xsi_named_mutex
|
||||
boost::uint8_t m_id;
|
||||
int m_perm;
|
||||
std::string m_path;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
inline xsi_named_mutex::xsi_named_mutex()
|
||||
: m_semid(-1), m_key(-1), m_id(0), m_perm(0), m_path()
|
||||
@@ -218,7 +218,7 @@ inline bool xsi_named_mutex::remove()
|
||||
return false;
|
||||
}
|
||||
|
||||
///@endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace interprocess {
|
||||
} //namespace boost {
|
||||
|
||||
@@ -50,10 +50,10 @@ namespace interprocess {
|
||||
//!can't communicate between them.
|
||||
class windows_shared_memory
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable and non-assignable
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(windows_shared_memory)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Default constructor.
|
||||
@@ -116,7 +116,7 @@ class windows_shared_memory
|
||||
//!size of the "size" passed in the constructor.
|
||||
offset_t get_size() const;
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
|
||||
//!Closes a previously opened file mapping. Never throws.
|
||||
@@ -128,10 +128,10 @@ class windows_shared_memory
|
||||
void * m_handle;
|
||||
mode_t m_mode;
|
||||
std::string m_name;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
inline windows_shared_memory::windows_shared_memory()
|
||||
: m_handle(0)
|
||||
@@ -233,7 +233,7 @@ inline void windows_shared_memory::priv_close()
|
||||
}
|
||||
}
|
||||
|
||||
///@endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace interprocess {
|
||||
} //namespace boost {
|
||||
|
||||
@@ -73,10 +73,10 @@ class xsi_key
|
||||
key_t get_key() const
|
||||
{ return m_key; }
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
key_t m_key;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
} //namespace interprocess {
|
||||
|
||||
@@ -47,10 +47,10 @@ namespace interprocess {
|
||||
//!can't communicate between them.
|
||||
class xsi_shared_memory
|
||||
{
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
//Non-copyable and non-assignable
|
||||
BOOST_MOVABLE_BUT_NOT_COPYABLE(xsi_shared_memory)
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
public:
|
||||
//!Default constructor.
|
||||
@@ -115,7 +115,7 @@ class xsi_shared_memory
|
||||
//!Returns false on error. Never throws
|
||||
static bool remove(int shmid);
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
private:
|
||||
|
||||
//!Closes a previously opened file mapping. Never throws.
|
||||
@@ -124,10 +124,10 @@ class xsi_shared_memory
|
||||
, const permissions& perm
|
||||
, std::size_t size);
|
||||
int m_shmid;
|
||||
/// @endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
};
|
||||
|
||||
/// @cond
|
||||
#if !defined(BOOST_INTERPROCESS_DOXYGEN_INVOKED)
|
||||
|
||||
inline xsi_shared_memory::xsi_shared_memory()
|
||||
: m_shmid(-1)
|
||||
@@ -191,7 +191,7 @@ inline bool xsi_shared_memory::priv_open_or_create
|
||||
inline bool xsi_shared_memory::remove(int shmid)
|
||||
{ return -1 != ::shmctl(shmid, IPC_RMID, 0); }
|
||||
|
||||
///@endcond
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
} //namespace interprocess {
|
||||
} //namespace boost {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,139 +1,139 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="adaptive_node_pool_test"
|
||||
ProjectGUID="{CD57C283-1862-42FE-BF87-B96D3A2A7912}"
|
||||
Keyword="Win32Proj">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Debug"
|
||||
IntermediateDirectory="Debug/adaptive_node_pool_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
GeneratePreprocessedFile="0"
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="3"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/adaptive_node_pool_test_d.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(OutDir)/adaptive_node_pool_test.pdb"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"
|
||||
FixedBaseAddress="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Release"
|
||||
IntermediateDirectory="Release/adaptive_node_pool_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
RuntimeLibrary="2"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="3"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/adaptive_node_pool_test.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{34957FC1-7BC5-1646-05A6-27542AA2A2FF}">
|
||||
<File
|
||||
RelativePath="..\..\test\adaptive_node_pool_test.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93A78280-B78D-4B31-7E8B-6255ACE1E5FB}">
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="adaptive_node_pool_test"
|
||||
ProjectGUID="{CD57C283-1862-42FE-BF87-B96D3A2A7912}"
|
||||
Keyword="Win32Proj">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Debug"
|
||||
IntermediateDirectory="Debug/adaptive_node_pool_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
GeneratePreprocessedFile="0"
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="3"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/adaptive_node_pool_test_d.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(OutDir)/adaptive_node_pool_test.pdb"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"
|
||||
FixedBaseAddress="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Release"
|
||||
IntermediateDirectory="Release/adaptive_node_pool_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
RuntimeLibrary="2"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="3"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/adaptive_node_pool_test.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{34957FC1-7BC5-1646-05A6-27542AA2A2FF}">
|
||||
<File
|
||||
RelativePath="..\..\test\adaptive_node_pool_test.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93A78280-B78D-4B31-7E8B-6255ACE1E5FB}">
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
||||
|
||||
@@ -1,138 +1,138 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="adaptive_pool_test"
|
||||
ProjectGUID="{58CE1D84-1962-4FE9-BA0D-A4F7973A4652}"
|
||||
Keyword="Win32Proj">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Debug"
|
||||
IntermediateDirectory="Debug/adaptive_pool_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="3"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/adaptive_pool_test_d.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(OutDir)/adaptive_pool_test.pdb"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"
|
||||
FixedBaseAddress="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Release"
|
||||
IntermediateDirectory="Release/adaptive_pool_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
RuntimeLibrary="2"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="0"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/adaptive_pool_test.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4995FE71-7AD5-A596-4763-2A3752A27EFF}">
|
||||
<File
|
||||
RelativePath="..\..\test\adaptive_pool_test.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{3C387380-C89D-C074-83EB-E57B622EBFFB}">
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="adaptive_pool_test"
|
||||
ProjectGUID="{58CE1D84-1962-4FE9-BA0D-A4F7973A4652}"
|
||||
Keyword="Win32Proj">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Debug"
|
||||
IntermediateDirectory="Debug/adaptive_pool_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="3"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/adaptive_pool_test_d.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(OutDir)/adaptive_pool_test.pdb"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"
|
||||
FixedBaseAddress="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Release"
|
||||
IntermediateDirectory="Release/adaptive_pool_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
RuntimeLibrary="2"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="0"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/adaptive_pool_test.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4995FE71-7AD5-A596-4763-2A3752A27EFF}">
|
||||
<File
|
||||
RelativePath="..\..\test\adaptive_pool_test.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{3C387380-C89D-C074-83EB-E57B622EBFFB}">
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
||||
|
||||
@@ -1,138 +1,138 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="allocexcept_test"
|
||||
ProjectGUID="{58CCE183-6092-48FE-A4F7-BA0D3A792662}"
|
||||
Keyword="Win32Proj">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Debug"
|
||||
IntermediateDirectory="Debug/allocexcept_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="3"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/allocexcept_test_d.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(OutDir)/allocexcept_test.pdb"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"
|
||||
FixedBaseAddress="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Release"
|
||||
IntermediateDirectory="Release/allocexcept_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
RuntimeLibrary="2"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="0"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/allocexcept_test.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
|
||||
<File
|
||||
RelativePath="..\..\test\allocexcept_test.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="allocexcept_test"
|
||||
ProjectGUID="{58CCE183-6092-48FE-A4F7-BA0D3A792662}"
|
||||
Keyword="Win32Proj">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Debug"
|
||||
IntermediateDirectory="Debug/allocexcept_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="3"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/allocexcept_test_d.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(OutDir)/allocexcept_test.pdb"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"
|
||||
FixedBaseAddress="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Release"
|
||||
IntermediateDirectory="Release/allocexcept_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
RuntimeLibrary="2"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="0"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/allocexcept_test.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
|
||||
<File
|
||||
RelativePath="..\..\test\allocexcept_test.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
||||
|
||||
@@ -1,135 +1,135 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="anonymous_shared_memory_test"
|
||||
ProjectGUID="{58DE8A13-4FA7-6252-36FE-B3A0A6D92812}"
|
||||
Keyword="Win32Proj">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Debug"
|
||||
IntermediateDirectory="Debug/anonymous_shared_memory_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
GeneratePreprocessedFile="0"
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="3"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/anonymous_shared_memory_test_d.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(OutDir)/anonymous_shared_memory_test.pdb"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"
|
||||
FixedBaseAddress="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Release"
|
||||
IntermediateDirectory="Release/anonymous_shared_memory_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="3"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
RuntimeLibrary="2"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="0"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/anonymous_shared_memory_test.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{37F46E1-7A60-7AB5-3256-2B3A235E7E2F}">
|
||||
<File
|
||||
RelativePath="..\..\test\anonymous_shared_memory_test.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="anonymous_shared_memory_test"
|
||||
ProjectGUID="{58DE8A13-4FA7-6252-36FE-B3A0A6D92812}"
|
||||
Keyword="Win32Proj">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Debug"
|
||||
IntermediateDirectory="Debug/anonymous_shared_memory_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
GeneratePreprocessedFile="0"
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="3"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/anonymous_shared_memory_test_d.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(OutDir)/anonymous_shared_memory_test.pdb"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"
|
||||
FixedBaseAddress="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Release"
|
||||
IntermediateDirectory="Release/anonymous_shared_memory_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="3"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
RuntimeLibrary="2"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="0"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/anonymous_shared_memory_test.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{37F46E1-7A60-7AB5-3256-2B3A235E7E2F}">
|
||||
<File
|
||||
RelativePath="..\..\test\anonymous_shared_memory_test.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
||||
|
||||
@@ -1,138 +1,138 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="barrier_test"
|
||||
ProjectGUID="{58CCE183-6092-48FE-A4F7-BA0D3A792661}"
|
||||
Keyword="Win32Proj">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Debug"
|
||||
IntermediateDirectory="Debug/shared_barrier_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="3"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/shared_barrier_test_d.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(OutDir)/shared_barrier_test.pdb"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"
|
||||
FixedBaseAddress="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Release"
|
||||
IntermediateDirectory="Release/shared_barrier_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
RuntimeLibrary="2"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="0"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/shared_barrier_test.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
|
||||
<File
|
||||
RelativePath="..\..\test\barrier_test.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="barrier_test"
|
||||
ProjectGUID="{58CCE183-6092-48FE-A4F7-BA0D3A792661}"
|
||||
Keyword="Win32Proj">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Debug"
|
||||
IntermediateDirectory="Debug/shared_barrier_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="3"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/shared_barrier_test_d.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(OutDir)/shared_barrier_test.pdb"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"
|
||||
FixedBaseAddress="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Release"
|
||||
IntermediateDirectory="Release/shared_barrier_test"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB"
|
||||
RuntimeLibrary="2"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="0"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/shared_barrier_test.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
|
||||
<File
|
||||
RelativePath="..\..\test\barrier_test.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
||||
|
||||
@@ -1,139 +1,139 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="boost_use_windows_h"
|
||||
ProjectGUID="{518CE8C3-6512-FA75-46EF-B917A3A116D1}"
|
||||
Keyword="Win32Proj">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Debug"
|
||||
IntermediateDirectory="Debug/boost_use_windows_h"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB;"
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="3"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/boost_use_windows_h.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(OutDir)/boost_use_windows_h.pdb"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"
|
||||
FixedBaseAddress="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Release"
|
||||
IntermediateDirectory="Release/boost_use_windows_h"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="3"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB;"
|
||||
RuntimeLibrary="2"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="0"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/boost_use_windows_h.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4F8F372-C425-7A56-652E-A6A023A237EF}">
|
||||
<File
|
||||
RelativePath="..\..\test\boost_use_windows_h.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{5C3EBE53-7D9B-C441-258B-62B5F182FBE5}">
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
ProjectType="Visual C++"
|
||||
Version="7.10"
|
||||
Name="boost_use_windows_h"
|
||||
ProjectGUID="{518CE8C3-6512-FA75-46EF-B917A3A116D1}"
|
||||
Keyword="Win32Proj">
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"/>
|
||||
</Platforms>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Debug"
|
||||
IntermediateDirectory="Debug/boost_use_windows_h"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB;"
|
||||
MinimalRebuild="TRUE"
|
||||
BasicRuntimeChecks="3"
|
||||
RuntimeLibrary="3"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="3"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/boost_use_windows_h.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(OutDir)/boost_use_windows_h.pdb"
|
||||
SubSystem="1"
|
||||
TargetMachine="1"
|
||||
FixedBaseAddress="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="../../Bin/Win32/Release"
|
||||
IntermediateDirectory="Release/boost_use_windows_h"
|
||||
ConfigurationType="1"
|
||||
CharacterSet="2">
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
Optimization="3"
|
||||
AdditionalIncludeDirectories="../../../.."
|
||||
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;BOOST_DATE_TIME_NO_LIB;"
|
||||
RuntimeLibrary="2"
|
||||
TreatWChar_tAsBuiltInType="TRUE"
|
||||
ForceConformanceInForLoopScope="FALSE"
|
||||
UsePrecompiledHeader="0"
|
||||
WarningLevel="4"
|
||||
Detect64BitPortabilityProblems="TRUE"
|
||||
DebugInformationFormat="0"/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="winmm.lib"
|
||||
OutputFile="$(OutDir)/boost_use_windows_h.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="../../../../stage/lib"
|
||||
GenerateDebugInformation="TRUE"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
EnableCOMDATFolding="2"
|
||||
TargetMachine="1"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
Name="VCPreLinkEventTool"/>
|
||||
<Tool
|
||||
Name="VCResourceCompilerTool"/>
|
||||
<Tool
|
||||
Name="VCWebServiceProxyGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCXMLDataGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCWebDeploymentTool"/>
|
||||
<Tool
|
||||
Name="VCManagedWrapperGeneratorTool"/>
|
||||
<Tool
|
||||
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4F8F372-C425-7A56-652E-A6A023A237EF}">
|
||||
<File
|
||||
RelativePath="..\..\test\boost_use_windows_h.cpp">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{5C3EBE53-7D9B-C441-258B-62B5F182FBE5}">
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user