Allow for more viewers on sharedServer classes
This commit is contained in:
parent
7822e5c75d
commit
e94e598841
1 changed files with 2 additions and 1 deletions
|
@ -649,6 +649,7 @@ namespace IPC {
|
|||
newPage();
|
||||
newPage();
|
||||
newPage();
|
||||
newPage();
|
||||
}
|
||||
|
||||
///\brief The deconstructor
|
||||
|
@ -665,7 +666,7 @@ namespace IPC {
|
|||
///\brief Creates the next page with the correct size
|
||||
void sharedServer::newPage() {
|
||||
semGuard tmpGuard(&mySemaphore);
|
||||
sharedPage tmp(std::string(baseName.substr(1) + (char)(myPages.size() + (int)'A')), (8192 << myPages.size()), true);
|
||||
sharedPage tmp(std::string(baseName.substr(1) + (char)(myPages.size() + (int)'A')), ((8192 * 2)<< myPages.size()), true);
|
||||
myPages.insert(tmp);
|
||||
tmp.master = false;
|
||||
DEBUG_MSG(DLVL_VERYHIGH, "Created a new page: %s", tmp.name.c_str());
|
||||
|
|
Loading…
Add table
Reference in a new issue