mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Bug 5326
[SVN r76116]
This commit is contained in:
@@ -6602,6 +6602,16 @@ thank them:
|
||||
|
||||
[section:release_notes Release Notes]
|
||||
|
||||
[section:release_notes_boost_1_49_00 Boost 1.49 Release]
|
||||
|
||||
* Fixed bugs
|
||||
[@https://svn.boost.org/trac/boost/ticket/6233 #6233],
|
||||
[@https://svn.boost.org/trac/boost/ticket/6287 #6287],
|
||||
[@https://svn.boost.org/trac/boost/ticket/6054 #6054],
|
||||
[@https://svn.boost.org/trac/boost/ticket/5326 #5326].
|
||||
|
||||
[endsect]
|
||||
|
||||
[section:release_notes_boost_1_48_00 Boost 1.48 Release]
|
||||
|
||||
* Fixed bugs
|
||||
|
||||
@@ -27,6 +27,9 @@ int main ()
|
||||
shm_remove() { shared_memory_object::remove("MySharedMemory"); }
|
||||
~shm_remove(){ shared_memory_object::remove("MySharedMemory"); }
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create a shared memory object.
|
||||
shared_memory_object shm
|
||||
|
||||
@@ -25,6 +25,9 @@ int main ()
|
||||
{
|
||||
~shm_remove(){ shared_memory_object::remove("MySharedMemory"); }
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Open the shared memory object.
|
||||
shared_memory_object shm
|
||||
|
||||
@@ -24,6 +24,9 @@ int main ()
|
||||
shm_remove() { shared_memory_object::remove("MySharedMemory"); }
|
||||
~shm_remove(){ shared_memory_object::remove("MySharedMemory"); }
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create a shared memory object.
|
||||
shared_memory_object shm
|
||||
|
||||
@@ -23,6 +23,9 @@ int main ()
|
||||
{
|
||||
~shm_remove(){ shared_memory_object::remove("MySharedMemory"); }
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create a shared memory object.
|
||||
shared_memory_object shm
|
||||
|
||||
@@ -25,6 +25,9 @@ int main ()
|
||||
{
|
||||
~shm_remove(){ shared_memory_object::remove("MySharedMemory"); }
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create a shared memory object.
|
||||
shared_memory_object shm
|
||||
|
||||
@@ -26,6 +26,9 @@ int main ()
|
||||
{
|
||||
~shm_remove(){ shared_memory_object::remove("MySharedMemory"); }
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Open the shared memory object.
|
||||
shared_memory_object shm
|
||||
|
||||
@@ -36,6 +36,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create shared memory
|
||||
//<-
|
||||
|
||||
@@ -36,6 +36,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create shared memory
|
||||
//<-
|
||||
|
||||
@@ -38,6 +38,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create shared memory
|
||||
//<-
|
||||
|
||||
@@ -36,6 +36,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create shared memory
|
||||
//<-
|
||||
|
||||
@@ -36,6 +36,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create shared memory
|
||||
//<-
|
||||
|
||||
@@ -70,6 +70,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create shared memory
|
||||
//<-
|
||||
|
||||
@@ -35,6 +35,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//A managed shared memory where we can construct objects
|
||||
//associated with a c-string
|
||||
|
||||
@@ -89,6 +89,9 @@ int main()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create shared memory
|
||||
//<-
|
||||
|
||||
@@ -36,6 +36,9 @@ int main (int argc, char *argv[])
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create a managed shared memory segment
|
||||
//<-
|
||||
|
||||
@@ -34,6 +34,9 @@ int main()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Managed memory segment that allocates portions of a shared memory
|
||||
//segment with the default management algorithm
|
||||
|
||||
@@ -34,6 +34,9 @@ int main()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Managed memory segment that allocates portions of a shared memory
|
||||
//segment with the default management algorithm
|
||||
|
||||
@@ -40,6 +40,9 @@ int main()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//<-
|
||||
#if 1
|
||||
|
||||
@@ -39,6 +39,9 @@ int main()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
{
|
||||
//Create a managed shared memory
|
||||
|
||||
@@ -39,6 +39,9 @@ int main()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//<-
|
||||
#if 1
|
||||
|
||||
@@ -33,6 +33,9 @@ int main()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Managed memory segment that allocates portions of a shared memory
|
||||
//segment with the default management algorithm
|
||||
|
||||
@@ -38,6 +38,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Shared memory front-end that is able to construct objects
|
||||
//associated with a c-string. Erase previous shared memory with the name
|
||||
|
||||
@@ -46,6 +46,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//<-
|
||||
#if 1
|
||||
|
||||
@@ -79,6 +79,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create shared memory
|
||||
//<-
|
||||
|
||||
@@ -40,6 +40,9 @@ int main(int argc, char *argv[])
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Construct managed shared memory
|
||||
//<-
|
||||
|
||||
@@ -51,6 +51,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Open or create the named mutex
|
||||
//<-
|
||||
|
||||
@@ -36,6 +36,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create shared memory
|
||||
//<-
|
||||
|
||||
@@ -42,6 +42,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create shared memory
|
||||
//<-
|
||||
|
||||
@@ -36,6 +36,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create shared memory
|
||||
//<-
|
||||
|
||||
@@ -36,6 +36,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create shared memory
|
||||
//<-
|
||||
|
||||
@@ -65,6 +65,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//<-
|
||||
#if 1
|
||||
|
||||
@@ -38,6 +38,9 @@ int main(int argc, char *argv[])
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create a shared memory object.
|
||||
//<-
|
||||
|
||||
@@ -49,6 +49,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//<-
|
||||
#if 1
|
||||
|
||||
@@ -48,6 +48,9 @@ int main(int argc, char *argv[])
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create a new segment with given name and size
|
||||
//<-
|
||||
|
||||
@@ -38,6 +38,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//Create shared memory
|
||||
//<-
|
||||
|
||||
@@ -48,6 +48,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//<-
|
||||
#if 1
|
||||
|
||||
@@ -47,6 +47,9 @@ int main ()
|
||||
#endif
|
||||
//->
|
||||
} remover;
|
||||
//<-
|
||||
(void)remover;
|
||||
//->
|
||||
|
||||
//<-
|
||||
#if 1
|
||||
|
||||
@@ -45,6 +45,7 @@ int robust_mutex_test(int argc, char *argv[])
|
||||
~shm_remove(){ shared_memory_object::remove
|
||||
(::boost::interprocess::test::get_process_id_name()); }
|
||||
} remover;
|
||||
(void)remover;
|
||||
|
||||
//Construct managed shared memory
|
||||
managed_shared_memory segment(create_only, get_process_id_name(), 65536);
|
||||
|
||||
Reference in New Issue
Block a user