Request sync after system call for change privilege of thread
authorInhwan Lee <ideal.lee@samsung.com>
Wed, 16 Mar 2016 05:45:54 +0000 (14:45 +0900)
committerInhwan Lee <ideal.lee@samsung.com>
Wed, 16 Mar 2016 05:45:54 +0000 (14:45 +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);