This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
from bcb90fab7c nuttx/crypto: export Diffie-Hellman algorithm
new ee78219f9c semaphore: export priority ceiling interfaces in semaphore
new 85f8677e21 nxmutex: export priority ceiling interfaces with nxsem
new 3240540952 pthread/realtime: export interfaces about pthread ceiling
priority
new fbc8605b27 sem: add mutex protect in sem_trywait
The 4 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/mutex.h | 66 +++++++++++++
include/nuttx/semaphore.h | 41 ++++++++
include/pthread.h | 13 ++-
include/semaphore.h | 4 +
libs/libc/libc.csv | 4 +
libs/libc/misc/lib_mutex.c | 72 ++++++++++++++
libs/libc/pthread/CMakeLists.txt | 4 +
libs/libc/pthread/Make.defs | 2 +
...tr_gettype.c => pthread_mutex_getprioceiling.c} | 35 ++++---
...chedpolicy.c => pthread_mutex_setprioceiling.c} | 54 +++++------
...ettype.c => pthread_mutexattr_getprioceiling.c} | 26 +++---
libs/libc/pthread/pthread_mutexattr_getprotocol.c | 4 +-
libs/libc/pthread/pthread_mutexattr_init.c | 6 ++
...ettype.c => pthread_mutexattr_setprioceiling.c} | 30 +++---
libs/libc/pthread/pthread_mutexattr_setprotocol.c | 23 ++++-
libs/libc/semaphore/CMakeLists.txt | 4 +
libs/libc/semaphore/Make.defs | 4 +
.../sem_getprioceiling.c} | 39 ++++----
.../sem_setprioceiling.c} | 50 +++++-----
libs/libc/semaphore/sem_setprotocol.c | 7 ++
sched/Kconfig | 7 ++
sched/pthread/pthread.h | 58 ++++++------
sched/pthread/pthread_mutexinit.c | 77 ++++++++-------
sched/semaphore/CMakeLists.txt | 4 +
sched/semaphore/Make.defs | 4 +
sched/semaphore/sem_post.c | 26 ++++--
.../mq_getattr.c => semaphore/sem_protect.c} | 103 ++++++++++-----------
sched/semaphore/sem_setprotocol.c | 5 +-
sched/semaphore/sem_trywait.c | 7 ++
sched/semaphore/sem_wait.c | 7 ++
sched/semaphore/semaphore.h | 12 ++-
31 files changed, 539 insertions(+), 259 deletions(-)
copy libs/libc/pthread/{pthread_mutexattr_gettype.c =>
pthread_mutex_getprioceiling.c} (71%)
copy libs/libc/pthread/{pthread_attr_setschedpolicy.c =>
pthread_mutex_setprioceiling.c} (61%)
copy libs/libc/pthread/{pthread_mutexattr_gettype.c =>
pthread_mutexattr_getprioceiling.c} (75%)
copy libs/libc/pthread/{pthread_mutexattr_settype.c =>
pthread_mutexattr_setprioceiling.c} (74%)
copy libs/libc/{signal/sig_xorset.c => semaphore/sem_getprioceiling.c} (73%)
copy libs/libc/{signal/sig_isemptyset.c => semaphore/sem_setprioceiling.c}
(66%)
copy sched/{mqueue/mq_getattr.c => semaphore/sem_protect.c} (55%)