This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
from 889983ae4ef fs/inode: validate parameters and avoid premature
allocation in dup3
new c86a1c9a48b libc/unistd: Define the PSE52 thread options.
new 20e1b633645 libc/pthread: Use deferred cancellation in pthread_exit().
new 54c720cc0ee libc/pthread: Check the signal number in pthread_kill().
new 5feda17b6e8 sched/pthread: Detect circular joins in pthread_join().
new 0bc013bb2b4 libc/pthread: Reject keys that were not created.
new 36f32318dc3 !sched: Make the SCHED_* values match the TCB policy bits.
new 474b3f403c9 libc/spawn: Update the policy range check for the new
SCHED_* values.
new 7e1dcb2784d sched/semaphore: Keep the queue position on a PRIO_PROTECT
unlock.
new 91259d9671b sched/task: Wake a blocked thread on asynchronous
cancellation.
new 86b46210da6 libc/pthread: Rename the proto field of
pthread_mutexattr_s to prio.
new 8242992c111 !libc/pthread: Return EINVAL for invalid pthread objects.
new 45fd32d27bf libc/pthread: Drop the wait count of a timed out condition
waiter.
new ef20f417f06 libc/pthread: Make cond wait release and block atomic.
The 13 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
include/nuttx/clock.h | 19 ---
include/nuttx/sched.h | 1 +
include/pthread.h | 12 +-
include/sched.h | 10 +-
include/semaphore.h | 6 +-
include/time.h | 32 ++++-
include/unistd.h | 20 +++
libs/libc/pthread/pthread.h | 67 ++++++++++
libs/libc/pthread/pthread_attr_destroy.c | 9 +-
libs/libc/pthread/pthread_attr_getdetachstate.c | 9 +-
libs/libc/pthread/pthread_attr_getguardsize.c | 9 +-
libs/libc/pthread/pthread_attr_getinheritsched.c | 9 +-
libs/libc/pthread/pthread_attr_getschedparam.c | 9 +-
libs/libc/pthread/pthread_attr_getschedpolicy.c | 9 +-
libs/libc/pthread/pthread_attr_getscope.c | 11 ++
libs/libc/pthread/pthread_attr_getstack.c | 9 +-
libs/libc/pthread/pthread_attr_getstackaddr.c | 9 +-
libs/libc/pthread/pthread_attr_getstacksize.c | 9 +-
libs/libc/pthread/pthread_attr_setdetachstate.c | 12 +-
libs/libc/pthread/pthread_attr_setinheritsched.c | 9 +-
libs/libc/pthread/pthread_attr_setschedparam.c | 9 +-
libs/libc/pthread/pthread_attr_setschedpolicy.c | 11 +-
libs/libc/pthread/pthread_attr_setscope.c | 11 ++
libs/libc/pthread/pthread_attr_setstack.c | 11 +-
libs/libc/pthread/pthread_attr_setstackaddr.c | 9 +-
libs/libc/pthread/pthread_attr_setstacksize.c | 9 +-
libs/libc/pthread/pthread_condattr_destroy.c | 13 +-
libs/libc/pthread/pthread_condattr_getclock.c | 9 +-
libs/libc/pthread/pthread_condattr_getpshared.c | 9 +-
libs/libc/pthread/pthread_condattr_setclock.c | 9 +-
libs/libc/pthread/pthread_condattr_setpshared.c | 10 +-
libs/libc/pthread/pthread_condbroadcast.c | 7 +-
libs/libc/pthread/pthread_condclockwait.c | 29 +++-
libs/libc/pthread/pthread_conddestroy.c | 20 ++-
libs/libc/pthread/pthread_condinit.c | 13 +-
libs/libc/pthread/pthread_condsignal.c | 7 +-
libs/libc/pthread/pthread_condwait.c | 9 +-
libs/libc/pthread/pthread_exit.c | 4 +
libs/libc/pthread/pthread_keydelete.c | 15 ++-
libs/libc/pthread/pthread_kill.c | 8 +-
libs/libc/pthread/pthread_mutex_destroy.c | 11 +-
libs/libc/pthread/pthread_mutex_init.c | 15 ++-
libs/libc/pthread/pthread_mutex_setprioceiling.c | 13 ++
libs/libc/pthread/pthread_mutexattr_destroy.c | 9 +-
.../pthread/pthread_mutexattr_getprioceiling.c | 4 +-
libs/libc/pthread/pthread_mutexattr_getprotocol.c | 11 +-
libs/libc/pthread/pthread_mutexattr_getpshared.c | 4 +-
libs/libc/pthread/pthread_mutexattr_gettype.c | 4 +-
libs/libc/pthread/pthread_mutexattr_init.c | 8 +-
.../pthread/pthread_mutexattr_setprioceiling.c | 5 +-
libs/libc/pthread/pthread_mutexattr_setprotocol.c | 15 ++-
libs/libc/pthread/pthread_mutexattr_setpshared.c | 6 +-
libs/libc/pthread/pthread_mutexattr_settype.c | 4 +-
libs/libc/pthread/pthread_setspecific.c | 15 ++-
libs/libc/sched/sched_getprioritymax.c | 2 +-
libs/libc/sched/sched_getprioritymin.c | 7 +-
libs/libc/semaphore/sem_init.c | 2 +-
libs/libc/spawn/lib_psa_setschedpolicy.c | 2 +-
libs/libc/unistd/lib_sysconf.c | 16 +--
sched/pthread/pthread_join.c | 148 +++++++++++++++++++++
sched/sched/sched_getscheduler.c | 10 +-
sched/sched/sched_setscheduler.c | 45 +++----
sched/semaphore/sem_destroy.c | 1 +
sched/semaphore/sem_protect.c | 43 ++++--
sched/semaphore/sem_wait.c | 2 +-
sched/task/task_cancelpt.c | 45 +++++--
66 files changed, 774 insertions(+), 175 deletions(-)