Searched refs:gPkgIdMap (Results 1 – 1 of 1) sorted by relevance
49 static PkgIdMap* gPkgIdMap = new PkgIdMap; variable130 std::lock_guard<std::mutex> guard(gPkgIdMap->lock); in StartPkgMonitor()131 if (gPkgIdMap->pklp_thread.get() == nullptr) { in StartPkgMonitor()132 gPkgIdMap->running = true; in StartPkgMonitor()133 gPkgIdMap->pklp_thread = std::make_unique<std::thread>(StartHandler, gPkgIdMap); in StartPkgMonitor()134 } else if (!gPkgIdMap->running) { in StartPkgMonitor()135 gPkgIdMap->pklp_thread->join(); in StartPkgMonitor()136 gPkgIdMap->running = true; in StartPkgMonitor()137 gPkgIdMap->pklp_thread.reset(new std::thread(StartHandler, gPkgIdMap)); in StartPkgMonitor()143 std::lock_guard<std::mutex> guard(gPkgIdMap->lock); in uidToName()[all …]