From 7e8d1dff8c87030e5547111e48cfd910ebdb93c9 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 12 May 2013 14:31:41 -0600 Subject: [PATCH] Default NxWidgets and NxWM priorities should be 100 not 50 to be consistent with other default priorities --- ChangeLog | 3 ++- configs/mikroe-stm32f4/fulldemo/defconfig | 16 ++++++++-------- configs/shenzhou/nxwm/defconfig | 16 ++++++++-------- configs/sim/nxwm/defconfig | 12 ++++++------ configs/stm3220g-eval/nxwm/defconfig | 16 ++++++++-------- 5 files changed, 32 insertions(+), 31 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7d6e1ded50..46143ab331 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4701,4 +4701,5 @@ (2013-5-10). * configs/mikroe-stm32f4: Changes to get the Mikroelektronika MultiMedia STM32 F4 touchsceen working. From Ken Pettit (2013-5-11). - + * configs/*/nxwm: Default priorities for NxWidget and NxWM threads + should be 100, not 50, to be consistent with other default priorities. diff --git a/configs/mikroe-stm32f4/fulldemo/defconfig b/configs/mikroe-stm32f4/fulldemo/defconfig index a398f8f738..67bc28f197 100644 --- a/configs/mikroe-stm32f4/fulldemo/defconfig +++ b/configs/mikroe-stm32f4/fulldemo/defconfig @@ -915,10 +915,10 @@ CONFIG_NXWIDGETS=y CONFIG_NXWIDGETS_FLICKERFREE=y CONFIG_NXWIDGETS_DEVNO=0 CONFIG_NXWIDGETS_VPLANE=0 -CONFIG_NXWIDGETS_SERVERPRIO=51 +CONFIG_NXWIDGETS_SERVERPRIO=110 CONFIG_NXWIDGETS_SERVERSTACK=2048 -CONFIG_NXWIDGETS_CLIENTPRIO=50 -CONFIG_NXWIDGETS_LISTENERPRIO=50 +CONFIG_NXWIDGETS_CLIENTPRIO=100 +CONFIG_NXWIDGETS_LISTENERPRIO=100 CONFIG_NXWIDGETS_LISTENERSTACK=2048 # CONFIG_NXWIDGETS_EXTERNINIT is not set # CONFIG_NXWIDGET_EVENTWAIT is not set @@ -1006,13 +1006,13 @@ CONFIG_NXWM_STARTWINDOW_HSPACING=4 CONFIG_NXWM_STARTWINDOW_MQNAME="/dev/nxwm" CONFIG_NXWM_STARTWINDOW_MXMSGS=32 CONFIG_NXWM_STARTWINDOW_MXMPRIO=42 -CONFIG_NXWM_STARTWINDOW_PRIO=50 +CONFIG_NXWM_STARTWINDOW_PRIO=100 CONFIG_NXWM_STARTWINDOW_STACKSIZE=2048 # # NxConsole Window Configuration # -CONFIG_NXWM_NXCONSOLE_PRIO=50 +CONFIG_NXWM_NXCONSOLE_PRIO=100 CONFIG_NXWM_NXCONSOLE_STACKSIZE=2048 # CONFIG_NXWM_NXCONSOLE_CUSTOM_COLORS is not set # CONFIG_NXWM_NXCONSOLE_CUSTOM_FONTID is not set @@ -1025,7 +1025,7 @@ CONFIG_NXWM_TOUCHSCREEN=y CONFIG_NXWM_TOUCHSCREEN_DEVNO=0 CONFIG_NXWM_TOUCHSCREEN_DEVPATH="/dev/input0" CONFIG_NXWM_TOUCHSCREEN_SIGNO=5 -CONFIG_NXWM_TOUCHSCREEN_LISTENERPRIO=50 +CONFIG_NXWM_TOUCHSCREEN_LISTENERPRIO=100 CONFIG_NXWM_TOUCHSCREEN_LISTENERSTACK=1024 CONFIG_NXWM_KEYBOARD=y @@ -1035,7 +1035,7 @@ CONFIG_NXWM_KEYBOARD=y CONFIG_NXWM_KEYBOARD_DEVPATH="/dev/ttyS0" CONFIG_NXWM_KEYBOARD_SIGNO=6 CONFIG_NXWM_KEYBOARD_BUFSIZE=16 -CONFIG_NXWM_KEYBOARD_LISTENERPRIO=50 +CONFIG_NXWM_KEYBOARD_LISTENERPRIO=100 CONFIG_NXWM_KEYBOARD_LISTENERSTACK=2048 # @@ -1044,7 +1044,7 @@ CONFIG_NXWM_KEYBOARD_LISTENERSTACK=2048 # CONFIG_NXWM_CALIBRATION_CUSTOM_COLORS is not set # CONFIG_NXWM_CUSTOM_CALIBRATION_ICON is not set CONFIG_NXWM_CALIBRATION_SIGNO=5 -CONFIG_NXWM_CALIBRATION_LISTENERPRIO=50 +CONFIG_NXWM_CALIBRATION_LISTENERPRIO=100 CONFIG_NXWM_CALIBRATION_LISTENERSTACK=2048 # diff --git a/configs/shenzhou/nxwm/defconfig b/configs/shenzhou/nxwm/defconfig index e13fb72dc9..aa62a2b4cc 100644 --- a/configs/shenzhou/nxwm/defconfig +++ b/configs/shenzhou/nxwm/defconfig @@ -816,10 +816,10 @@ CONFIG_NXWIDGETS=y CONFIG_NXWIDGETS_FLICKERFREE=y CONFIG_NXWIDGETS_DEVNO=0 CONFIG_NXWIDGETS_VPLANE=0 -CONFIG_NXWIDGETS_SERVERPRIO=51 +CONFIG_NXWIDGETS_SERVERPRIO=110 CONFIG_NXWIDGETS_SERVERSTACK=1596 -CONFIG_NXWIDGETS_CLIENTPRIO=50 -CONFIG_NXWIDGETS_LISTENERPRIO=50 +CONFIG_NXWIDGETS_CLIENTPRIO=100 +CONFIG_NXWIDGETS_LISTENERPRIO=100 CONFIG_NXWIDGETS_LISTENERSTACK=1596 # CONFIG_NXWIDGETS_EXTERNINIT is not set # CONFIG_NXWIDGET_EVENTWAIT is not set @@ -901,13 +901,13 @@ CONFIG_NXWM_STARTWINDOW_HSPACING=4 CONFIG_NXWM_STARTWINDOW_MQNAME="/dev/nxwm" CONFIG_NXWM_STARTWINDOW_MXMSGS=32 CONFIG_NXWM_STARTWINDOW_MXMPRIO=42 -CONFIG_NXWM_STARTWINDOW_PRIO=50 +CONFIG_NXWM_STARTWINDOW_PRIO=100 CONFIG_NXWM_STARTWINDOW_STACKSIZE=1596 # # NxConsole Window Configuration # -CONFIG_NXWM_NXCONSOLE_PRIO=50 +CONFIG_NXWM_NXCONSOLE_PRIO=100 CONFIG_NXWM_NXCONSOLE_STACKSIZE=1596 # CONFIG_NXWM_NXCONSOLE_CUSTOM_COLORS is not set # CONFIG_NXWM_NXCONSOLE_CUSTOM_FONTID is not set @@ -920,7 +920,7 @@ CONFIG_NXWM_TOUCHSCREEN=y CONFIG_NXWM_TOUCHSCREEN_DEVNO=0 CONFIG_NXWM_TOUCHSCREEN_DEVPATH="/dev/input0" CONFIG_NXWM_TOUCHSCREEN_SIGNO=5 -CONFIG_NXWM_TOUCHSCREEN_LISTENERPRIO=50 +CONFIG_NXWM_TOUCHSCREEN_LISTENERPRIO=100 CONFIG_NXWM_TOUCHSCREEN_LISTENERSTACK=1596 CONFIG_NXWM_KEYBOARD=y @@ -930,7 +930,7 @@ CONFIG_NXWM_KEYBOARD=y CONFIG_NXWM_KEYBOARD_DEVPATH="/dev/console" CONFIG_NXWM_KEYBOARD_SIGNO=6 CONFIG_NXWM_KEYBOARD_BUFSIZE=16 -CONFIG_NXWM_KEYBOARD_LISTENERPRIO=50 +CONFIG_NXWM_KEYBOARD_LISTENERPRIO=100 CONFIG_NXWM_KEYBOARD_LISTENERSTACK=1024 # @@ -939,7 +939,7 @@ CONFIG_NXWM_KEYBOARD_LISTENERSTACK=1024 # CONFIG_NXWM_CALIBRATION_CUSTOM_COLORS is not set # CONFIG_NXWM_CUSTOM_CALIBRATION_ICON is not set CONFIG_NXWM_CALIBRATION_SIGNO=5 -CONFIG_NXWM_CALIBRATION_LISTENERPRIO=50 +CONFIG_NXWM_CALIBRATION_LISTENERPRIO=100 CONFIG_NXWM_CALIBRATION_LISTENERSTACK=1024 # diff --git a/configs/sim/nxwm/defconfig b/configs/sim/nxwm/defconfig index 5da33846f9..6536d73c3e 100644 --- a/configs/sim/nxwm/defconfig +++ b/configs/sim/nxwm/defconfig @@ -549,10 +549,10 @@ CONFIG_NXWIDGETS=y # CONFIG_NXWIDGETS_FLICKERFREE is not set CONFIG_NXWIDGETS_DEVNO=0 CONFIG_NXWIDGETS_VPLANE=0 -CONFIG_NXWIDGETS_SERVERPRIO=51 +CONFIG_NXWIDGETS_SERVERPRIO=110 CONFIG_NXWIDGETS_SERVERSTACK=16384 -CONFIG_NXWIDGETS_CLIENTPRIO=50 -CONFIG_NXWIDGETS_LISTENERPRIO=50 +CONFIG_NXWIDGETS_CLIENTPRIO=100 +CONFIG_NXWIDGETS_LISTENERPRIO=100 CONFIG_NXWIDGETS_LISTENERSTACK=8192 # CONFIG_NXWIDGETS_EXTERNINIT is not set # CONFIG_NXWIDGET_EVENTWAIT is not set @@ -634,13 +634,13 @@ CONFIG_NXWM_STARTWINDOW_HSPACING=4 CONFIG_NXWM_STARTWINDOW_MQNAME="/dev/nxwm" CONFIG_NXWM_STARTWINDOW_MXMSGS=32 CONFIG_NXWM_STARTWINDOW_MXMPRIO=42 -CONFIG_NXWM_STARTWINDOW_PRIO=50 +CONFIG_NXWM_STARTWINDOW_PRIO=100 CONFIG_NXWM_STARTWINDOW_STACKSIZE=2048 # # NxConsole Window Configuration # -CONFIG_NXWM_NXCONSOLE_PRIO=50 +CONFIG_NXWM_NXCONSOLE_PRIO=100 CONFIG_NXWM_NXCONSOLE_STACKSIZE=8192 # CONFIG_NXWM_NXCONSOLE_CUSTOM_COLORS is not set # CONFIG_NXWM_NXCONSOLE_CUSTOM_FONTID is not set @@ -654,7 +654,7 @@ CONFIG_NXWM_NXCONSOLE_STACKSIZE=8192 # CONFIG_NXWM_CALIBRATION_CUSTOM_COLORS is not set # CONFIG_NXWM_CUSTOM_CALIBRATION_ICON is not set CONFIG_NXWM_CALIBRATION_SIGNO=5 -CONFIG_NXWM_CALIBRATION_LISTENERPRIO=50 +CONFIG_NXWM_CALIBRATION_LISTENERPRIO=100 CONFIG_NXWM_CALIBRATION_LISTENERSTACK=2048 # diff --git a/configs/stm3220g-eval/nxwm/defconfig b/configs/stm3220g-eval/nxwm/defconfig index 145792ddb0..875207fd73 100644 --- a/configs/stm3220g-eval/nxwm/defconfig +++ b/configs/stm3220g-eval/nxwm/defconfig @@ -844,10 +844,10 @@ CONFIG_NXWIDGETS=y CONFIG_NXWIDGETS_FLICKERFREE=y CONFIG_NXWIDGETS_DEVNO=0 CONFIG_NXWIDGETS_VPLANE=0 -CONFIG_NXWIDGETS_SERVERPRIO=51 +CONFIG_NXWIDGETS_SERVERPRIO=110 CONFIG_NXWIDGETS_SERVERSTACK=2048 -CONFIG_NXWIDGETS_CLIENTPRIO=50 -CONFIG_NXWIDGETS_LISTENERPRIO=50 +CONFIG_NXWIDGETS_CLIENTPRIO=100 +CONFIG_NXWIDGETS_LISTENERPRIO=100 CONFIG_NXWIDGETS_LISTENERSTACK=2048 # CONFIG_NXWIDGETS_EXTERNINIT is not set # CONFIG_NXWIDGET_EVENTWAIT is not set @@ -934,13 +934,13 @@ CONFIG_NXWM_STARTWINDOW_HSPACING=4 CONFIG_NXWM_STARTWINDOW_MQNAME="/dev/nxwm" CONFIG_NXWM_STARTWINDOW_MXMSGS=32 CONFIG_NXWM_STARTWINDOW_MXMPRIO=42 -CONFIG_NXWM_STARTWINDOW_PRIO=50 +CONFIG_NXWM_STARTWINDOW_PRIO=100 CONFIG_NXWM_STARTWINDOW_STACKSIZE=2048 # # NxConsole Window Configuration # -CONFIG_NXWM_NXCONSOLE_PRIO=50 +CONFIG_NXWM_NXCONSOLE_PRIO=100 CONFIG_NXWM_NXCONSOLE_STACKSIZE=2048 # CONFIG_NXWM_NXCONSOLE_CUSTOM_COLORS is not set # CONFIG_NXWM_NXCONSOLE_CUSTOM_FONTID is not set @@ -953,7 +953,7 @@ CONFIG_NXWM_TOUCHSCREEN=y CONFIG_NXWM_TOUCHSCREEN_DEVNO=0 CONFIG_NXWM_TOUCHSCREEN_DEVPATH="/dev/input0" CONFIG_NXWM_TOUCHSCREEN_SIGNO=5 -CONFIG_NXWM_TOUCHSCREEN_LISTENERPRIO=50 +CONFIG_NXWM_TOUCHSCREEN_LISTENERPRIO=100 CONFIG_NXWM_TOUCHSCREEN_LISTENERSTACK=1024 CONFIG_NXWM_KEYBOARD=y @@ -963,7 +963,7 @@ CONFIG_NXWM_KEYBOARD=y CONFIG_NXWM_KEYBOARD_DEVPATH="/dev/console" CONFIG_NXWM_KEYBOARD_SIGNO=6 CONFIG_NXWM_KEYBOARD_BUFSIZE=16 -CONFIG_NXWM_KEYBOARD_LISTENERPRIO=50 +CONFIG_NXWM_KEYBOARD_LISTENERPRIO=100 CONFIG_NXWM_KEYBOARD_LISTENERSTACK=2048 # @@ -972,7 +972,7 @@ CONFIG_NXWM_KEYBOARD_LISTENERSTACK=2048 # CONFIG_NXWM_CALIBRATION_CUSTOM_COLORS is not set # CONFIG_NXWM_CUSTOM_CALIBRATION_ICON is not set CONFIG_NXWM_CALIBRATION_SIGNO=5 -CONFIG_NXWM_CALIBRATION_LISTENERPRIO=50 +CONFIG_NXWM_CALIBRATION_LISTENERPRIO=100 CONFIG_NXWM_CALIBRATION_LISTENERSTACK=2048 #