src/jdk.jpackage/share/native/libapplauncher/LinuxPlatform.cpp
branchJDK-8200758-branch
changeset 57099 9a85a7a076ad
parent 57064 a7fdadf67a92
child 57106 ea870b9ce89a
equal deleted inserted replaced
57098:fd4868c5fca1 57099:9a85a7a076ad
   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);