mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
pthreads: Move pthread_cond_init and pthread_cond_destory from sched/pthreads to libc/pthreads. This just coordinate other OS interface calls but are not a fundamental OS interfaces and, hence, do not belong within the OS.
This commit is contained in:
@@ -72,8 +72,6 @@
|
||||
"pthread_cleanup_pop","pthread.h","defined(CONFIG_PTHREAD_CLEANUP)","void","int"
|
||||
"pthread_cleanup_push","pthread.h","defined(CONFIG_PTHREAD_CLEANUP)","void","pthread_cleanup_t","FAR void*"
|
||||
"pthread_cond_broadcast","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t*"
|
||||
"pthread_cond_destroy","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t*"
|
||||
"pthread_cond_init","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t*","FAR const pthread_condattr_t*"
|
||||
"pthread_cond_signal","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t*"
|
||||
"pthread_cond_timedwait","pthread.h","!defined(CONFIG_DISABLE_SIGNALS) && !defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t*","FAR pthread_mutex_t*","FAR const struct timespec*"
|
||||
"pthread_cond_wait","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_cond_t*","FAR pthread_mutex_t*"
|
||||
|
||||
|
@@ -286,8 +286,6 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert)
|
||||
SYSCALL_LOOKUP(pthread_barrier_wait, 1, STUB_pthread_barrier_wait)
|
||||
SYSCALL_LOOKUP(pthread_cancel, 1, STUB_pthread_cancel)
|
||||
SYSCALL_LOOKUP(pthread_cond_broadcast, 1, STUB_pthread_cond_broadcast)
|
||||
SYSCALL_LOOKUP(pthread_cond_destroy, 1, STUB_pthread_cond_destroy)
|
||||
SYSCALL_LOOKUP(pthread_cond_init, 2, STUB_pthread_cond_init)
|
||||
SYSCALL_LOOKUP(pthread_cond_signal, 1, STUB_pthread_cond_signal)
|
||||
SYSCALL_LOOKUP(pthread_cond_wait, 2, STUB_pthread_cond_wait)
|
||||
SYSCALL_LOOKUP(pthread_create, 4, STUB_pthread_create)
|
||||
|
||||
@@ -281,8 +281,6 @@ uintptr_t STUB_pthread_barrier_init(int nbr, uintptr_t parm1,
|
||||
uintptr_t STUB_pthread_barrier_wait(int nbr, uintptr_t parm1);
|
||||
uintptr_t STUB_pthread_cancel(int nbr, uintptr_t parm1);
|
||||
uintptr_t STUB_pthread_cond_broadcast(int nbr, uintptr_t parm1);
|
||||
uintptr_t STUB_pthread_cond_destroy(int nbr, uintptr_t parm1);
|
||||
uintptr_t STUB_pthread_cond_init(int nbr, uintptr_t parm1, uintptr_t parm2);
|
||||
uintptr_t STUB_pthread_cond_signal(int nbr, uintptr_t parm1);
|
||||
uintptr_t STUB_pthread_cond_wait(int nbr, uintptr_t parm1, uintptr_t parm2);
|
||||
uintptr_t STUB_pthread_create(int nbr, uintptr_t parm1, uintptr_t parm2,
|
||||
|
||||
Reference in New Issue
Block a user