Fixes #103 ("Use interprocess headers without exception handling")

This commit is contained in:
Ion Gaztañaga
2021-08-23 13:32:08 +02:00
parent f8d2da6a18
commit 4f0b3c2c93
68 changed files with 407 additions and 428 deletions

View File

@@ -204,12 +204,12 @@ int main ()
delete stdlist;
//Fill heap buffer until is full
try{
BOOST_TRY{
while(1){
heaplist->insert(heaplist->end(), 0);
}
}
catch(boost::interprocess::bad_alloc &){}
BOOST_CATCH(boost::interprocess::bad_alloc &){} BOOST_CATCH_END
MyHeapList::size_type heap_list_size = heaplist->size();
@@ -237,12 +237,12 @@ int main ()
}
//Fill user buffer until is full
try{
BOOST_TRY{
while(1){
userlist->insert(userlist->end(), 0);
}
}
catch(boost::interprocess::bad_alloc &){}
BOOST_CATCH(boost::interprocess::bad_alloc &){} BOOST_CATCH_END
MyUserList::size_type user_list_size = userlist->size();