Merged revision(s) 78115-78594 from trunk/libs/intrusive:

[SVN r78598]
This commit is contained in:
Ion Gaztañaga
2012-05-24 18:12:03 +00:00
parent 03a51534b2
commit 12c6c3a66a
55 changed files with 385 additions and 385 deletions
+2 -2
View File
@@ -61,7 +61,7 @@ int main()
const int ShmSize = 50000;
const char *ShmName = get_shared_memory_name();
{
//Erase all old shared memory
//Erase all old shared memory
ip::shared_memory_object::remove(ShmName);
ip::managed_shared_memory shm(ip::create_only, ShmName, ShmSize);
@@ -72,7 +72,7 @@ int main()
shm_allocator_t;
typedef ip::vector<shared_memory_data, shm_allocator_t> shm_vector_t;
shm_allocator_t shm_alloc(shm.get_segment_manager());
shm_vector_t *pshm_vect =
shm_vector_t *pshm_vect =
shm.construct<shm_vector_t>(ip::anonymous_instance)(shm_alloc);
pshm_vect->resize(MaxElem);