Improvements to connector shutdown code, attempted fix for Windows support.
This commit is contained in:
parent
2e052fa2a1
commit
d120523bbb
2 changed files with 7 additions and 3 deletions
|
@ -293,7 +293,7 @@ namespace IPC {
|
|||
#ifdef __CYGWIN__
|
||||
if (master) {
|
||||
//Under cygwin, all pages are 4 bytes longer than claimed.
|
||||
handle = CreateFileMappingA(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, len+4, name.c_str());
|
||||
handle = CreateFileMappingA(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, len+4, std::string("Global\\" + name).c_str());
|
||||
} else {
|
||||
int i = 0;
|
||||
do {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue