mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
nxplayer & nxrecorder: make main thread configurable, set to default
Change-Id: I730f2dab00da245a79fc61d679296e73efc2374f Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
3b884cfb87
commit
ee7b0fc1dd
3 changed files with 9 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ config NXPLAYER_MAINTHREAD_STACKSIZE
|
|||
|
||||
config NXPLAYER_PLAYTHREAD_STACKSIZE
|
||||
int "NxPlayer thread stack size"
|
||||
default 1500
|
||||
default PTHREAD_STACK_DEFAULT
|
||||
---help---
|
||||
Stack size to use with the NxPlayer play thread.
|
||||
|
||||
|
|
|
|||
|
|
@ -13,9 +13,15 @@ config SYSTEM_NXRECORDER
|
|||
|
||||
if SYSTEM_NXRECORDER
|
||||
|
||||
config NXRECORDER_MAINTHREAD_STACKSIZE
|
||||
int "NxRecoder main thread stack size"
|
||||
default DEFAULT_TASK_STACKSIZE
|
||||
---help---
|
||||
Stack size to use with the NxRecoder main thread.
|
||||
|
||||
config NXRECORDER_RECORDTHREAD_STACKSIZE
|
||||
int "NxRecorder thread stack size"
|
||||
default 1500
|
||||
default PTHREAD_STACK_DEFAULT
|
||||
---help---
|
||||
Stack size to use with the NxRecorder record thread.
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ CSRCS = nxrecorder.c
|
|||
ifneq ($(CONFIG_NXRECORDER_COMMAND_LINE),)
|
||||
PROGNAME = nxrecorder
|
||||
PRIORITY = SCHED_PRIORITY_DEFAULT
|
||||
STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
|
||||
STACKSIZE = $(CONFIG_NXRECORDER_MAINTHREAD_STACKSIZE)
|
||||
MODULE = $(CONFIG_NXRECORDER_COMMAND_LINE)
|
||||
|
||||
MAINSRC = nxrecorder_main.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue