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

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

commit 37d2ae353d4344b0875b3dbfced1d34d1baa4d3d
Author: yangkun27 <[email protected]>
AuthorDate: Thu Feb 12 17:00:21 2026 +0800

    libc: Add the missing pthread_mutex_*() functions to libc.csv.
    
    these APIs were removed from syscall.csv but not added to libc.csv
    
    Signed-off-by: yangkun27 <[email protected]>
    Signed-off-by: ganjing <[email protected]>
---
 libs/libc/libc.csv | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libs/libc/libc.csv b/libs/libc/libc.csv
index 6526562ce1c..ca4f87e26aa 100644
--- a/libs/libc/libc.csv
+++ b/libs/libc/libc.csv
@@ -266,9 +266,15 @@
 
"pthread_gettid_np","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","pid_t","pthread_t"
 "pthread_key_create","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) && 
CONFIG_TLS_NELEM > 0","int","FAR pthread_key_t *","FAR void (*) (void *)|FAR 
void *"
 "pthread_key_delete","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) && 
CONFIG_TLS_NELEM > 0","int","pthread_key_t"
+"pthread_mutex_consistent","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) && 
!defined(CONFIG_PTHREAD_MUTEX_UNSAFE)","int","FAR pthread_mutex_t *"
+"pthread_mutex_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR
 pthread_mutex_t *"
 "pthread_mutex_getprioceiling","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) 
&& defined(CONFIG_PRIORITY_PROTECT)","int","FAR const pthread_mutex_t *","FAR 
int *"
+"pthread_mutex_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR 
pthread_mutex_t *","FAR const pthread_mutexattr_t *"
 "pthread_mutex_lock","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR 
pthread_mutex_t *"
 "pthread_mutex_setprioceiling","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) 
&& defined(CONFIG_PRIORITY_PROTECT)","int","FAR pthread_mutex_t *","int","FAR 
int *"
+"pthread_mutex_timedlock","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR
 pthread_mutex_t *","FAR const struct timespec *"
+"pthread_mutex_trylock","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR
 pthread_mutex_t *"
+"pthread_mutex_unlock","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR
 pthread_mutex_t *"
 
"pthread_mutexattr_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR
 pthread_mutexattr_t *"
 
"pthread_mutexattr_getprioceiling","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)
 && defined(CONFIG_PRIORITY_PROTECT)","int","FAR pthread_mutexattr_t *","FAR 
int *"
 
"pthread_mutexattr_getpshared","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR
 pthread_mutexattr_t *","FAR int *"

Reply via email to