Page limits implemented, performance timer for buffering pages added on debug level 5
This commit is contained in:
parent
9a1fb0873f
commit
5c5ab6c058
4 changed files with 20 additions and 10 deletions
|
@ -79,7 +79,7 @@ JSON::Value Util::getStreamConfig(std::string streamname){
|
|||
FAIL_MSG("Stream opening denied: %s is longer than 100 characters (%lu).", streamname.c_str(), streamname.size());
|
||||
return result;
|
||||
}
|
||||
IPC::sharedPage mistConfOut(SHM_CONF, DEFAULT_CONF_PAGE_SIZE);
|
||||
IPC::sharedPage mistConfOut(SHM_CONF, DEFAULT_CONF_PAGE_SIZE, false, false);
|
||||
IPC::semaphore configLock(SEM_CONF, O_CREAT | O_RDWR, ACCESSPERMS, 1);
|
||||
configLock.wait();
|
||||
DTSC::Scan config = DTSC::Scan(mistConfOut.mapped, mistConfOut.len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue