nuttx-apps/testing/ostest
chao an 78a8dd27c9 Revert "testing/ostest/cancel: joining a detached/canceled thread should return EINVAL, not ESRCH"
This reverts commit 69e497f681.

In order to ensure the detached thread obtain the correct return
value from pthread_join()/pthread_cancel(), the detached thread
will create joininfo to save the detached status after thread
destroyed.  If there are too many of detached threads in the
process group, the joininfo will consume too much memory.
This is not friendly to embedded MCU devices.
This commit keep the semantics as #11898 was introduced,
will no longer save joininfo for detached threads to avoid wasting memory.

Refer PR:
https://github.com/apache/nuttx/pull/12106

Signed-off-by: chao an <anchao@lixiang.com>
2024-04-09 13:45:39 +08:00
..
aio.c apps: add <assert.h> header file 2023-03-16 12:00:28 +01:00
barrier.c apps: add <assert.h> header file 2023-03-16 12:00:28 +01:00
cancel.c Revert "testing/ostest/cancel: joining a detached/canceled thread should return EINVAL, not ESRCH" 2024-04-09 13:45:39 +08:00
CMakeLists.txt ostest: add test for libc memmem() function 2024-03-15 19:46:42 +08:00
cond.c ostest/cond_test: cond and mutex need to be destroyed 2023-05-23 13:11:07 +08:00
dev_null.c ostest: Skip test_dev_null when CONFIG_DEV_NULL isn't enabled 2023-07-17 16:28:02 +09:00
fpu.c apps: add <assert.h> header file 2023-03-16 12:00:28 +01:00
getopt.c apps: add <assert.h> header file 2023-03-16 12:00:28 +01:00
Kconfig testing/ostest: remove CONFIG_TESTING_OSTEST_FPUSIZE 2022-04-19 02:48:24 +08:00
libc_memmem.c ostest: add test for libc memmem() function 2024-03-15 19:46:42 +08:00
Make.defs Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00
Makefile ostest: add test for libc memmem() function 2024-03-15 19:46:42 +08:00
mqueue.c testing: fix visual studio Compiler Error C2057 2023-08-29 15:44:09 +08:00
mutex.c ostest/mutex: mut need to be destroyed 2023-08-09 15:07:25 +08:00
nsem.c apps: add <assert.h> header file 2023-03-16 12:00:28 +01:00
ostest_main.c ostest: add test for libc memmem() function 2024-03-15 19:46:42 +08:00
ostest.h ostest: add test for libc memmem() function 2024-03-15 19:46:42 +08:00
posixtimer.c testing/ostest: Define the private used signal to SIGRTMIN 2023-04-05 03:38:24 -07:00
prioinherit.c testing/ostest: call up_idle() only in case of CONFIG_SIM_WALLTIME_SLEEP=y 2023-08-07 18:58:46 -07:00
pthread_cleanup.c apps: add <assert.h> header file 2023-03-16 12:00:28 +01:00
pthread_exit.c ostest: Add initial support for CONFIG_BUILD_KERNEL 2023-12-27 10:01:05 -08:00
pthread_rwlock_cancel.c testing/ostest: Remove the unnecessary defined(CONFIG_PTHREAD_CLEANUP_STACKSIZE) 2023-07-25 09:51:09 +08:00
pthread_rwlock.c ostest: fix smp ostest fail 2023-04-24 09:55:54 +02:00
restart.c ostest: Add initial support for CONFIG_BUILD_KERNEL 2023-12-27 10:01:05 -08:00
rmutex.c ostest/rmutex: mutex need to be destroyed 2023-07-26 08:33:26 -07:00
robust.c ostest: fix smp ostest fail 2023-04-24 09:55:54 +02:00
roundrobin.c apps/testing/ostest/roundrobin.c: Fix nxstyle errors 2023-04-29 14:54:40 +08:00
schedlock.c testing/ostest: call up_idle() only in case of CONFIG_SIM_WALLTIME_SLEEP=y 2023-08-07 18:58:46 -07:00
sem.c ostest: sem need to be destroyed 2023-05-16 11:59:08 +08:00
semtimed.c apps: add <assert.h> header file 2023-03-16 12:00:28 +01:00
setjmp.c ostest: Introduce basic setjmp/longjmp test 2022-03-01 12:03:31 +08:00
setvbuf.c apps: add <assert.h> header file 2023-03-16 12:00:28 +01:00
sigev_thread.c testing/ostest: Define the private used signal to SIGRTMIN 2023-04-05 03:38:24 -07:00
sighand.c ostest: Add initial support for CONFIG_BUILD_KERNEL 2023-12-27 10:01:05 -08:00
sighelper.c Changes to apps needed by nutts PR 8885 2023-03-27 16:58:52 +03:00
signest.c ostest: Add initial support for CONFIG_BUILD_KERNEL 2023-12-27 10:01:05 -08:00
sigprocmask.c Fix sigprocmask 2023-09-16 00:08:34 +03:00
smp_call.c ostest: Add smp function call test case 2023-10-18 22:20:48 +08:00
specific.c apps: add <assert.h> header file 2023-03-16 12:00:28 +01:00
sporadic2.c apps: add <assert.h> header file 2023-03-16 12:00:28 +01:00
sporadic.c apps: add <assert.h> header file 2023-03-16 12:00:28 +01:00
suspend.c ostest: Add initial support for CONFIG_BUILD_KERNEL 2023-12-27 10:01:05 -08:00
timedmqueue.c testing: fix visual studio Compiler Error C2057 2023-08-29 15:44:09 +08:00
timedmutex.c apps: add <assert.h> header file 2023-03-16 12:00:28 +01:00
timedwait.c apps: add <assert.h> header file 2023-03-16 12:00:28 +01:00
tls.c testing: Check CONFIG_TLS_NELEM is defined before using it 2023-08-21 15:08:17 +03:00
vfork.c apps: Replace CONFIG_ARCH_HAVE_VFORK with CONFIG_ARCH_HAVE_FORK 2023-11-16 07:58:57 -08:00
waitpid.c ostest: Add initial support for CONFIG_BUILD_KERNEL 2023-12-27 10:01:05 -08:00
wqueue.c ostest/wqueue: Check return value for pthread ops. 2023-08-22 13:55:03 +08:00