Request sync after system call for change privilege of thread accepted/tizen/common/20160317.155749 accepted/tizen/ivi/20160318.112057 accepted/tizen/mobile/20160318.111244 accepted/tizen/tv/20160318.111603 accepted/tizen/wearable/20160318.111647 submit/tizen/20160316.080018
authorInhwan Lee <ideal.lee@samsung.com>
Wed, 16 Mar 2016 05:45:54 +0000 (14:45 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Wed, 16 Mar 2016 07:59:30 +0000 (16:59 +0900)
runtime/browser/prelauncher.cc

index a247cdcd98e5b5592951737dc4ebe642337d8947..e7a2f4606ed676a6d82a762b1eeea4d1371958a3 100755 (executable)
@@ -70,13 +70,8 @@ void ChangePrivilegeForThreads(const std::string& appid) {
       if (tid == current_tid)
         continue;
       syscall(__NR_tkill, tid, SIGUSR1);
-
-      // It is workaround code
-      // Delete Me, If does not crashed on Note4
-      // I don't know why crashed in Kernel with below log
-      // unhandled level 2 translation fault (11) at 0x00000080, esr 0x92000006
-      LOGGER(DEBUG) << "Send signal " << tid;
     }
+    sync();
     closedir(dir);
   }
   signal(SIGUSR1, oldhandler);