equal
deleted
inserted
replaced
162 return result; |
162 return result; |
163 } |
163 } |
164 |
164 |
165 TString LinuxPlatform::getTmpDirString() { |
165 TString LinuxPlatform::getTmpDirString() { |
166 return TString(LINUX_JPACKAGE_TMP_DIR); |
166 return TString(LINUX_JPACKAGE_TMP_DIR); |
167 } |
|
168 |
|
169 void LinuxPlatform::reactivateAnotherInstance() { |
|
170 if (singleInstanceProcessId == 0) { |
|
171 printf("Unable to reactivate another instance, PID is undefined"); |
|
172 return; |
|
173 } |
|
174 |
|
175 const ProcessReactivator reactivator(singleInstanceProcessId); |
|
176 } |
167 } |
177 |
168 |
178 TPlatformNumber LinuxPlatform::GetMemorySize() { |
169 TPlatformNumber LinuxPlatform::GetMemorySize() { |
179 long pages = sysconf(_SC_PHYS_PAGES); |
170 long pages = sysconf(_SC_PHYS_PAGES); |
180 long page_size = sysconf(_SC_PAGE_SIZE); |
171 long page_size = sysconf(_SC_PAGE_SIZE); |