Change TASH task priority 16/107816/4
authorahreum.jeong <ahreum.jeong@samsung.com>
Fri, 30 Dec 2016 05:13:35 +0000 (14:13 +0900)
committerahreum.jeong <ahreum.jeong@samsung.com>
Fri, 30 Dec 2016 06:23:54 +0000 (15:23 +0900)
Assert when pm_update is called before pm_worker is executed.
Because TASH priority(252) is higher than HPWORK priority(224).
So we need to decrease TASH priority to make it lower value than kernel thread priority

Change-Id: Ia4f3a88eba964c31da5f001006a17089d31d5e9e

apps/shell/tash_main.c

index 617c684..8a29349 100644 (file)
@@ -47,7 +47,7 @@ enum tash_input_state_e {
 #define SELECT_TIMEOUT_USECS  (0)
 #endif
 #define TASH_THREAD_STACKSIZE (4096)
-#define TASH_THREAD_PRIORITY  (252)    /* (SCHED_PRIORITY_MAX-3) */
+#define TASH_THREAD_PRIORITY  (125)
 
 const char tash_prompt[] = "TASH>>";
 #endif                                                 /* CONFIG_TASH */