Update of /cvsroot/boost/boost/boost/interprocess/sync
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv22035/sync
Modified Files:
named_condition.hpp named_mutex.hpp named_recursive_mutex.hpp
named_semaphore.hpp named_upgradable_mutex.hpp null_mutex.hpp
Log Message:
New Interprocess version
Index: named_condition.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/sync/named_condition.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- named_condition.hpp 12 May 2007 12:51:20 -0000 1.4
+++ named_condition.hpp 22 Jul 2007 14:05:55 -0000 1.5
@@ -17,7 +17,7 @@
#include <boost/interprocess/detail/config_begin.hpp>
#include <boost/interprocess/detail/workaround.hpp>
-#include <boost/interprocess/detail/creation_tags.hpp>
+#include <boost/interprocess/creation_tags.hpp>
#include <boost/interprocess/exceptions.hpp>
#include <boost/interprocess/shared_memory_object.hpp>
#include <boost/interprocess/sync/interprocess_condition.hpp>
@@ -42,18 +42,18 @@
/// @endcond
public:
/*!Creates a global condition with a name.*/
- named_condition(detail::create_only_t create_only, const char *name);
+ named_condition(create_only_t create_only, const char *name);
/*!Opens or creates a global condition with a name.
If the condition is created, this call is equivalent to create().
If the condition is already created, this call is equivalent to open().
Does not throw*/
- named_condition(detail::open_or_create_t open_or_create, const char *name);
+ named_condition(open_or_create_t open_or_create, const char *name);
/*!Opens a global condition with a name if that condition is previously.
created. If it is not previously created this function return false.
Does not throw*/
- named_condition(detail::open_only_t open_only, const char *name);
+ named_condition(open_only_t open_only, const char *name);
/*!Destroys *this*/
~named_condition();
@@ -141,7 +141,7 @@
inline named_condition::~named_condition()
{}
-inline named_condition::named_condition(detail::create_only_t, const char
*name)
+inline named_condition::named_condition(create_only_t, const char *name)
: m_shmem (create_only
,name
,sizeof(interprocess_condition) +
@@ -152,7 +152,7 @@
,construct_func_t(construct_func_t::create_only))
{}
-inline named_condition::named_condition(detail::open_or_create_t, const char
*name)
+inline named_condition::named_condition(open_or_create_t, const char *name)
: m_shmem (open_or_create
,name
,sizeof(interprocess_condition) +
@@ -163,7 +163,7 @@
,construct_func_t(construct_func_t::open_or_create))
{}
-inline named_condition::named_condition(detail::open_only_t, const char *name)
+inline named_condition::named_condition(open_only_t, const char *name)
: m_shmem (open_only
,name
,read_write
Index: named_mutex.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/sync/named_mutex.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- named_mutex.hpp 12 May 2007 12:51:20 -0000 1.5
+++ named_mutex.hpp 22 Jul 2007 14:05:55 -0000 1.6
@@ -17,7 +17,7 @@
#include <boost/interprocess/detail/config_begin.hpp>
#include <boost/interprocess/detail/workaround.hpp>
-#include <boost/interprocess/detail/creation_tags.hpp>
+#include <boost/interprocess/creation_tags.hpp>
#include <boost/interprocess/exceptions.hpp>
#include <boost/interprocess/shared_memory_object.hpp>
#include <boost/interprocess/sync/interprocess_mutex.hpp>
@@ -48,18 +48,18 @@
/// @endcond
public:
/*!Creates a global interprocess_mutex with a name.*/
- named_mutex(detail::create_only_t create_only, const char *name);
+ named_mutex(create_only_t create_only, const char *name);
/*!Opens or creates a global mutex with a name.
If the mutex is created, this call is equivalent to create().
If the mutex is already created, this call is equivalent to open().
Does not throw*/
- named_mutex(detail::open_or_create_t open_or_create, const char *name);
+ named_mutex(open_or_create_t open_or_create, const char *name);
/*!Opens a global mutex with a name if that mutex is previously.
created. If it is not previously created this function return false.
Does not throw*/
- named_mutex(detail::open_only_t open_only, const char *name);
+ named_mutex(open_only_t open_only, const char *name);
/*!Closes the named mutex. Does not throw*/
~named_mutex();
@@ -132,7 +132,7 @@
inline named_mutex::~named_mutex()
{}
-inline named_mutex::named_mutex(detail::create_only_t, const char *name)
+inline named_mutex::named_mutex(create_only_t, const char *name)
: m_shmem (create_only
,name
,sizeof(interprocess_mutex) +
@@ -143,7 +143,7 @@
,construct_func_t(construct_func_t::create_only))
{}
-inline named_mutex::named_mutex(detail::open_or_create_t, const char *name)
+inline named_mutex::named_mutex(open_or_create_t, const char *name)
: m_shmem (open_or_create
,name
,sizeof(interprocess_mutex) +
@@ -154,7 +154,7 @@
,construct_func_t(construct_func_t::open_or_create))
{}
-inline named_mutex::named_mutex(detail::open_only_t, const char *name)
+inline named_mutex::named_mutex(open_only_t, const char *name)
: m_shmem (open_only
,name
,read_write
Index: named_recursive_mutex.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/interprocess/sync/named_recursive_mutex.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- named_recursive_mutex.hpp 12 May 2007 12:51:20 -0000 1.5
+++ named_recursive_mutex.hpp 22 Jul 2007 14:05:55 -0000 1.6
@@ -17,7 +17,7 @@
#include <boost/interprocess/detail/config_begin.hpp>
#include <boost/interprocess/detail/workaround.hpp>
-#include <boost/interprocess/detail/creation_tags.hpp>
+#include <boost/interprocess/creation_tags.hpp>
#include <boost/interprocess/exceptions.hpp>
#include <boost/interprocess/detail/posix_time_types_wrk.hpp>
#include <boost/interprocess/shared_memory_object.hpp>
@@ -44,18 +44,18 @@
/// @endcond
public:
/*!Creates a global interprocess_mutex with a name.*/
- named_recursive_mutex(detail::create_only_t create_only, const char *name);
+ named_recursive_mutex(create_only_t create_only, const char *name);
/*!Opens or creates a global interprocess_mutex with a name.
If the interprocess_mutex is created, this call is equivalent to
create().
If the interprocess_mutex is already created, this call is equivalent to
open().
Does not throw*/
- named_recursive_mutex(detail::open_or_create_t open_or_create, const char
*name);
+ named_recursive_mutex(open_or_create_t open_or_create, const char *name);
/*!Opens a global interprocess_mutex with a name if that interprocess_mutex
is previously.
created. If it is not previously created this function return false.
Does not throw*/
- named_recursive_mutex(detail::open_only_t open_only, const char *name);
+ named_recursive_mutex(open_only_t open_only, const char *name);
/*!Destroys named interprocess_mutex. Does not throw*/
~named_recursive_mutex();
@@ -128,7 +128,7 @@
inline named_recursive_mutex::~named_recursive_mutex()
{}
-inline named_recursive_mutex::named_recursive_mutex(detail::create_only_t,
const char *name)
+inline named_recursive_mutex::named_recursive_mutex(create_only_t, const char
*name)
: m_shmem (create_only
,name
,sizeof(interprocess_recursive_mutex) +
@@ -139,7 +139,7 @@
,construct_func_t(construct_func_t::create_only))
{}
-inline named_recursive_mutex::named_recursive_mutex(detail::open_or_create_t,
const char *name)
+inline named_recursive_mutex::named_recursive_mutex(open_or_create_t, const
char *name)
: m_shmem (open_or_create
,name
,sizeof(interprocess_recursive_mutex) +
@@ -150,7 +150,7 @@
,construct_func_t(construct_func_t::open_or_create))
{}
-inline named_recursive_mutex::named_recursive_mutex(detail::open_only_t, const
char *name)
+inline named_recursive_mutex::named_recursive_mutex(open_only_t, const char
*name)
: m_shmem (open_only
,name
,read_write
Index: named_semaphore.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/sync/named_semaphore.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- named_semaphore.hpp 12 May 2007 12:51:20 -0000 1.5
+++ named_semaphore.hpp 22 Jul 2007 14:05:55 -0000 1.6
@@ -17,7 +17,7 @@
#include <boost/interprocess/detail/config_begin.hpp>
#include <boost/interprocess/detail/workaround.hpp>
-#include <boost/interprocess/detail/creation_tags.hpp>
+#include <boost/interprocess/creation_tags.hpp>
#include <boost/interprocess/exceptions.hpp>
#include <boost/interprocess/detail/posix_time_types_wrk.hpp>
#include <boost/interprocess/shared_memory_object.hpp>
@@ -46,17 +46,17 @@
public:
/*!Creates a global interprocess_semaphore with a name, and an initial
count.
It will return an false if the interprocess_semaphore is already
created.*/
- named_semaphore(detail::create_only_t, const char *name, int initialCount);
+ named_semaphore(create_only_t, const char *name, int initialCount);
/*!Opens or creates a global interprocess_semaphore with a name, and an
initial count.
If the interprocess_semaphore is created, this call is equivalent to
create().
If the interprocess_semaphore is already created, this call is
equivalent to open()
and initialCount is ignored.*/
- named_semaphore(detail::open_or_create_t, const char *name, int
initialCount);
+ named_semaphore(open_or_create_t, const char *name, int initialCount);
/*!Opens a global interprocess_semaphore with a name if that
interprocess_semaphore is previously.
created. If it is not previously created this function return false.*/
- named_semaphore(detail::open_only_t, const char *name);
+ named_semaphore(open_only_t, const char *name);
/*!Destroys the named semaphore. Does not throw*/
~named_semaphore();
@@ -132,7 +132,7 @@
{}
inline named_semaphore::named_semaphore
- (detail::create_only_t, const char *name, int initialCount)
+ (create_only_t, const char *name, int initialCount)
: m_shmem (create_only
,name
,sizeof(interprocess_semaphore) +
@@ -144,7 +144,7 @@
{}
inline named_semaphore::named_semaphore
- (detail::open_or_create_t, const char *name, int initialCount)
+ (open_or_create_t, const char *name, int initialCount)
: m_shmem (open_or_create
,name
,sizeof(interprocess_semaphore) +
@@ -156,7 +156,7 @@
{}
inline named_semaphore::named_semaphore
- (detail::open_only_t, const char *name)
+ (open_only_t, const char *name)
: m_shmem (open_only
,name
,read_write
Index: named_upgradable_mutex.hpp
===================================================================
RCS file:
/cvsroot/boost/boost/boost/interprocess/sync/named_upgradable_mutex.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- named_upgradable_mutex.hpp 12 May 2007 12:51:20 -0000 1.4
+++ named_upgradable_mutex.hpp 22 Jul 2007 14:05:55 -0000 1.5
@@ -17,7 +17,7 @@
#include <boost/interprocess/detail/config_begin.hpp>
#include <boost/interprocess/detail/workaround.hpp>
-#include <boost/interprocess/detail/creation_tags.hpp>
+#include <boost/interprocess/creation_tags.hpp>
#include <boost/interprocess/exceptions.hpp>
#include <boost/interprocess/shared_memory_object.hpp>
#include <boost/interprocess/detail/managed_open_or_create_impl.hpp>
@@ -47,18 +47,18 @@
/// @endcond
public:
/*!Creates a global interprocess_mutex with a name.*/
- named_upgradable_mutex(detail::create_only_t create_only, const char *name);
+ named_upgradable_mutex(create_only_t create_only, const char *name);
/*!Opens or creates a global upgradable mutex with a name.
If the upgradable mutex is created, this call is equivalent to create().
If the upgradable mutex is already created, this call is equivalent to
open().
Throws interprocess_exception on error.*/
- named_upgradable_mutex(detail::open_or_create_t open_or_create, const char
*name);
+ named_upgradable_mutex(open_or_create_t open_or_create, const char *name);
/*!Opens a global upgradable mutex with a name if that mutex is previously.
created. If it is not previously created this function return false.
Throws interprocess_exception on error.*/
- named_upgradable_mutex(detail::open_only_t open_only, const char *name);
+ named_upgradable_mutex(open_only_t open_only, const char *name);
/*!Closes the named upgradable mutex. Does not throw*/
~named_upgradable_mutex();
@@ -253,7 +253,7 @@
{}
inline named_upgradable_mutex::named_upgradable_mutex
- (detail::create_only_t, const char *name)
+ (create_only_t, const char *name)
: m_shmem (create_only
,name
,sizeof(interprocess_upgradable_mutex) +
@@ -265,7 +265,7 @@
{}
inline named_upgradable_mutex::named_upgradable_mutex
- (detail::open_or_create_t, const char *name)
+ (open_or_create_t, const char *name)
: m_shmem (open_or_create
,name
,sizeof(interprocess_upgradable_mutex) +
@@ -277,7 +277,7 @@
{}
inline named_upgradable_mutex::named_upgradable_mutex
- (detail::open_only_t, const char *name)
+ (open_only_t, const char *name)
: m_shmem (open_only
,name
,read_write
Index: null_mutex.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/sync/null_mutex.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- null_mutex.hpp 12 May 2007 12:51:20 -0000 1.4
+++ null_mutex.hpp 22 Jul 2007 14:05:56 -0000 1.5
@@ -133,12 +133,6 @@
Does not throw.*/
bool try_unlock_sharable_and_lock_upgradable()
{ return true; }
- /// @cond
- #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
- private:
- char dummy; // BCB would by default use 8 B for empty structure
- #endif
- /// @endcond
};
} //namespace interprocess {
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs