Fixed folder support
This commit is contained in:
parent
514f0a9b2b
commit
d296ac60bb
2 changed files with 10 additions and 3 deletions
|
@ -271,7 +271,9 @@ namespace Mist {
|
|||
configLock.post();
|
||||
//Stream metadata not found - attempt to start it
|
||||
if (Util::startInput(streamName)){
|
||||
streamIndex.init(streamName, DEFAULT_META_PAGE_SIZE);
|
||||
char streamPageName[NAME_BUFFER_SIZE];
|
||||
snprintf(streamPageName, NAME_BUFFER_SIZE, SHM_STREAM_INDEX, streamName.c_str());
|
||||
streamIndex.init(streamPageName, DEFAULT_META_PAGE_SIZE);
|
||||
if (streamIndex.mapped){
|
||||
metaLock = true;
|
||||
metaLocker.wait();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue