Small fixes for porting recent changes to windows

This commit is contained in:
Jean-Francois Dockes
2016-04-14 14:24:56 +02:00
parent ce8b68dec9
commit 021c142cee
5 changed files with 47 additions and 11 deletions
+3 -1
View File
@@ -337,7 +337,9 @@ RclConfig *recollinit(RclInitFlags flags,
// Keep threads init behind log init, but make sure it's done before
// we do the vfork choice ! The latter is not used any more actually,
// we always use vfork except if forbidden by config.
config->initThrConf();
if ((flags & RCLINIT_IDX)) {
config->initThrConf();
}
bool novfork;
config->getConfParam("novfork", &novfork);