mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
* Fixed GCC -Wshadow warnings.
* Experimental multiple allocation interface improved and changed again. Still unstable. * Replaced deprecated BOOST_NO_XXXX with newer BOOST_NO_CXX11_XXX macros. * [*ABI breaking]: changed node pool allocators internals for improved efficiency. [SVN r81521]
This commit is contained in:
@@ -26,12 +26,12 @@ int main ()
|
||||
{
|
||||
try{
|
||||
const char *names[2] = { test::get_process_id_name(), 0 };
|
||||
for(unsigned int i = 0; i < sizeof(names)/sizeof(names[0]); ++i)
|
||||
for(unsigned int i_name = 0; i_name < sizeof(names)/sizeof(names[0]); ++i_name)
|
||||
{
|
||||
const std::size_t FileSize = 99999*2;
|
||||
//Create a file mapping
|
||||
windows_shared_memory mapping
|
||||
(create_only, names[i], read_write, FileSize);
|
||||
(create_only, names[i_name], read_write, FileSize);
|
||||
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user