sched/semaphore: Move named semaphores to user space

This commit is contained in:
Ville Juven
2023-11-27 04:52:54 -08:00
committed by Xiang Xiao
parent c9bdadd541
commit 5f36a43609
11 changed files with 393 additions and 53 deletions
+3 -3
View File
@@ -82,11 +82,14 @@
"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_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 *"
"nxsem_open","nuttx/semaphore.h","defined(CONFIG_FS_NAMED_SEMAPHORES)","FAR sem_t *","FAR const char *","int","...","mode_t","unsigned int"
"nxsem_post","nuttx/semaphore.h","","int","FAR sem_t *"
"nxsem_set_protocol","nuttx/semaphore.h","defined(CONFIG_PRIORITY_INHERITANCE)","int","FAR sem_t *","int"
"nxsem_timedwait","nuttx/semaphore.h","","int","FAR sem_t *","FAR const struct timespec *"
"nxsem_trywait","nuttx/semaphore.h","","int","FAR sem_t *"
"nxsem_unlink","nuttx/semaphore.h","defined(CONFIG_FS_NAMED_SEMAPHORES)","int","FAR const char *"
"nxsem_wait","nuttx/semaphore.h","","int","FAR sem_t *"
"open","fcntl.h","","int","FAR const char *","int","...","mode_t"
"pgalloc", "nuttx/arch.h", "defined(CONFIG_BUILD_KERNEL)", "uintptr_t", "uintptr_t", "unsigned int"
@@ -141,9 +144,6 @@
"sched_unlock","sched.h","","int"
"sched_yield","sched.h","","int"
"select","sys/select.h","","int","int","FAR fd_set *","FAR fd_set *","FAR fd_set *","FAR struct timeval *"
"sem_close","semaphore.h","defined(CONFIG_FS_NAMED_SEMAPHORES)","int","FAR sem_t *"
"sem_open","semaphore.h","defined(CONFIG_FS_NAMED_SEMAPHORES)","FAR sem_t *","FAR const char *","int","...","mode_t","unsigned int"
"sem_unlink","semaphore.h","defined(CONFIG_FS_NAMED_SEMAPHORES)","int","FAR const char *"
"send","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR const void *","size_t","int"
"sendfile","sys/sendfile.h","","ssize_t","int","int","FAR off_t *","size_t"
"sendmsg","sys/socket.h","defined(CONFIG_NET)","ssize_t","int","FAR struct msghdr *","int"
1 _assert assert.h void FAR const char * int FAR const char * FAR void *
82 nx_vsyslog nuttx/syslog/syslog.h int int FAR const IPTR char * FAR va_list *
83 nxsched_get_stackinfo nuttx/sched.h int pid_t FAR struct stackinfo_s *
84 nxsem_clockwait nuttx/semaphore.h int FAR sem_t * clockid_t FAR const struct timespec *
85 nxsem_close nuttx/semaphore.h defined(CONFIG_FS_NAMED_SEMAPHORES) int FAR sem_t *
86 nxsem_destroy nuttx/semaphore.h int FAR sem_t *
87 nxsem_open nuttx/semaphore.h defined(CONFIG_FS_NAMED_SEMAPHORES) FAR sem_t * FAR const char * int ... mode_t
88 nxsem_post nuttx/semaphore.h int FAR sem_t *
89 nxsem_set_protocol nuttx/semaphore.h defined(CONFIG_PRIORITY_INHERITANCE) int FAR sem_t * int
90 nxsem_timedwait nuttx/semaphore.h int FAR sem_t * FAR const struct timespec *
91 nxsem_trywait nuttx/semaphore.h int FAR sem_t *
92 nxsem_unlink nuttx/semaphore.h defined(CONFIG_FS_NAMED_SEMAPHORES) int FAR const char *
93 nxsem_wait nuttx/semaphore.h int FAR sem_t *
94 open fcntl.h int FAR const char * int ... mode_t
95 pgalloc nuttx/arch.h defined(CONFIG_BUILD_KERNEL) uintptr_t uintptr_t unsigned int
144 sched_unlock sched.h int
145 sched_yield sched.h int
146 select sys/select.h int int FAR fd_set * FAR fd_set * FAR fd_set *
sem_close semaphore.h defined(CONFIG_FS_NAMED_SEMAPHORES) int FAR sem_t *
sem_open semaphore.h defined(CONFIG_FS_NAMED_SEMAPHORES) FAR sem_t * FAR const char * int ... mode_t
sem_unlink semaphore.h defined(CONFIG_FS_NAMED_SEMAPHORES) int FAR const char *
147 send sys/socket.h defined(CONFIG_NET) ssize_t int FAR const void * size_t int
148 sendfile sys/sendfile.h ssize_t int int FAR off_t * size_t
149 sendmsg sys/socket.h defined(CONFIG_NET) ssize_t int FAR struct msghdr * int