You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/04/07 18:59:18 UTC

[incubator-nuttx] branch master updated: boards/sim/sim/sim/configs/ostest: Enable cancellation tests.

This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 9c7841a  boards/sim/sim/sim/configs/ostest:  Enable cancellation tests.
9c7841a is described below

commit 9c7841aff106e47f335e62c7da1907dd29e58fa4
Author: Gregory Nutt <gn...@nuttx.org>
AuthorDate: Tue Apr 7 12:25:01 2020 -0600

    boards/sim/sim/sim/configs/ostest:  Enable cancellation tests.
---
 boards/sim/sim/sim/configs/ostest/defconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/boards/sim/sim/sim/configs/ostest/defconfig b/boards/sim/sim/sim/configs/ostest/defconfig
index b3ddf5d..18b0ebf 100644
--- a/boards/sim/sim/sim/configs/ostest/defconfig
+++ b/boards/sim/sim/sim/configs/ostest/defconfig
@@ -12,14 +12,16 @@ CONFIG_ARCH_CHIP="sim"
 CONFIG_ARCH_SIM=y
 CONFIG_BOARDCTL_POWEROFF=y
 CONFIG_BOARD_LOOPSPERMSEC=100
+CONFIG_CANCELLATION_POINTS=y
 CONFIG_DEBUG_SYMBOLS=y
 CONFIG_FS_NAMED_SEMAPHORES=y
 CONFIG_IDLETHREAD_STACKSIZE=4096
 CONFIG_LIB_BOARDCTL=y
 CONFIG_MAX_TASKS=64
 CONFIG_NFILE_DESCRIPTORS=32
+CONFIG_PTHREAD_CLEANUP=y
+CONFIG_PTHREAD_CLEANUP_STACKSIZE=3
 CONFIG_PTHREAD_MUTEX_TYPES=y
-CONFIG_PTHREAD_STACK_DEFAULT=8192
 CONFIG_RAM_START=0x00000000
 CONFIG_SCHED_HAVE_PARENT=y
 CONFIG_SCHED_WAITPID=y