syscall/csv: add nxsem_tickwait() to userspace

mutex_tickwait() depends on this API

Signed-off-by: chao an <anchao.archer@bytedance.com>
This commit is contained in:
chao an
2025-04-02 18:06:25 +08:00
committed by Xiang Xiao
parent 0d6de4c0a7
commit 58ed9934c2
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -79,6 +79,7 @@ SYSCALL_LOOKUP(sethostname, 2)
SYSCALL_LOOKUP(nxsem_destroy, 1)
SYSCALL_LOOKUP(nxsem_post_slow, 1)
SYSCALL_LOOKUP(nxsem_tickwait, 2)
SYSCALL_LOOKUP(nxsem_clockwait, 3)
SYSCALL_LOOKUP(nxsem_timedwait, 2)
SYSCALL_LOOKUP(nxsem_trywait_slow, 1)
+1
View File
@@ -87,6 +87,7 @@
"nx_pthread_exit","nuttx/pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","noreturn","pthread_addr_t"
"nx_vsyslog","nuttx/syslog/syslog.h","","int","int","FAR const IPTR char *","FAR va_list *"
"nxsched_get_stackinfo","nuttx/sched.h","","int","pid_t","FAR struct stackinfo_s *"
"nxsem_tickwait","nuttx/semaphore.h","","int","FAR sem_t *","uint32_t"
"nxsem_clockwait","nuttx/semaphore.h","","int","FAR sem_t *","clockid_t","FAR const struct timespec *"
"nxsem_close","nuttx/semaphore.h","defined(CONFIG_FS_NAMED_SEMAPHORES)","int","FAR sem_t *"
"nxsem_destroy","nuttx/semaphore.h","","int","FAR sem_t *"
1 _assert assert.h void FAR const char * int FAR const char * FAR void *
87 nx_pthread_exit nuttx/pthread.h !defined(CONFIG_DISABLE_PTHREAD) noreturn pthread_addr_t
88 nx_vsyslog nuttx/syslog/syslog.h int int FAR const IPTR char * FAR va_list *
89 nxsched_get_stackinfo nuttx/sched.h int pid_t FAR struct stackinfo_s *
90 nxsem_tickwait nuttx/semaphore.h int FAR sem_t * uint32_t
91 nxsem_clockwait nuttx/semaphore.h int FAR sem_t * clockid_t FAR const struct timespec *
92 nxsem_close nuttx/semaphore.h defined(CONFIG_FS_NAMED_SEMAPHORES) int FAR sem_t *
93 nxsem_destroy nuttx/semaphore.h int FAR sem_t *