#1211: Interprocess tests hang when run in parallel

#1080 boost::interprocess win32 global file mapping issue 

[SVN r38950]
This commit is contained in:
Ion Gaztañaga
2007-08-25 19:07:32 +00:00
parent 09c4b609d8
commit 3a18bed072
10 changed files with 106 additions and 67 deletions

View File

@@ -18,17 +18,17 @@
#include <functional>
#include <string>
#include "print_container.hpp"
#include "get_compiler_name.hpp"
#include "get_process_id_name.hpp"
using namespace boost::interprocess;
int main ()
{
const int memsize = 65536;
std::string compiler_name;
test::get_compiler_name(compiler_name);
const char *const shMemName = compiler_name.c_str();
std::string filename (test::get_compiler_name());
std::string process_name;
test::get_process_id_name(process_name);
const char *const shMemName = process_name.c_str();
std::string filename (test::get_process_id_name());
filename += "_file";
try{