Ticket #1921: interprocess shared_memory example needs patch (provided)

[SVN r45816]
This commit is contained in:
Ion Gaztañaga
2008-05-27 17:05:22 +00:00
parent 00653b57fc
commit 26c92da8dc
5 changed files with 4 additions and 5 deletions

View File

@@ -33,12 +33,13 @@ int main ()
}
}
std::cout << "Test successful!" << std::endl;
shared_memory_object::remove("shared_memory");
}
catch(interprocess_exception &ex){
std::cout << "Unexpected exception: " << ex.what() << std::endl;
shared_memory_object::remove("shared_memory");
return 1;
}
return 0;
}
//]