bool xenwinsvc.IRefresh.Refresh(bool force) { lock (pvinstalllock) { while (!initialised) { System.Threading.Monitor.Wait(pvinstalllock); } if (force) { Feature.Advertise(wmisession); } if ((!installing()) && (needsinstalling || (FeatureLicensed.IsLicensed() != pvinstalledStatus))) { RefreshXenstore(); return(true); } return(false); } }
void RefreshXenstore() { Feature.Advertise(wmisession); RegisterPVAddons(); }