nuttx/libs/libc/sched
zhangyuan21 f132edbf35 libc/sched: Return EINVAL when type incorrect at task_setcanceltype
https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_setcancelstate.html

The pthread_setcancelstate() function may fail if:

[EINVAL]
The specified state is not PTHREAD_CANCEL_ENABLE or PTHREAD_CANCEL_DISABLE.
The pthread_setcanceltype() function may fail if:

[EINVAL]
The specified type is not PTHREAD_CANCEL_DEFERRED or PTHREAD_CANCEL_ASYNCHRONOUS.

Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-05-12 01:06:23 +08:00
..
clock_ticks2time.c Move timespec calculations from sched into libc/sched 2021-11-04 13:19:01 -05:00
clock_time2ticks.c Move timespec calculations from sched into libc/sched 2021-11-04 13:19:01 -05:00
clock_timespec_add.c Move timespec calculations from sched into libc/sched 2021-11-04 13:19:01 -05:00
clock_timespec_subtract.c Move timespec calculations from sched into libc/sched 2021-11-04 13:19:01 -05:00
Make.defs libc: Move cxx_initialize.c from libc/sched/ to libc/misc 2022-05-04 08:58:43 +02:00
sched_backtrace.c sched/getpid: replace syscall getpid/tid/ppid() to kernel version 2023-02-02 10:33:01 +08:00
sched_cpucount.c
sched_dumpstack.c sched/dumpstack: Print "backtrace:" only in the first iteration 2022-03-23 07:26:19 +09:00
sched_getprioritymax.c sched: Map SCHED_OTHER to SCHED_FIFO or SCHED_RR 2023-01-30 03:01:03 +02:00
sched_getprioritymin.c sched: Map SCHED_OTHER to SCHED_FIFO or SCHED_RR 2023-01-30 03:01:03 +02:00
task_setcanceltype.c libc/sched: Return EINVAL when type incorrect at task_setcanceltype 2023-05-12 01:06:23 +08:00
task_startup.c libc: Move cxx_initialize.c from libc/sched/ to libc/misc 2022-05-04 08:58:43 +02:00
task_testcancel.c Typo fixes. 2023-02-17 11:17:11 -03:00