sched/pthread: Added non-standard pthread_get_stackaddr_np() and pthread_get_stacksize_np().

This commit is contained in:
Joao Matos
2019-04-04 10:30:46 -06:00
committed by Gregory Nutt
parent c6dd9274e6
commit 08ff68edec
8 changed files with 184 additions and 14 deletions
+2
View File
@@ -84,6 +84,8 @@
"pthread_create","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_t*","FAR const pthread_attr_t*","pthread_startroutine_t","pthread_addr_t"
"pthread_detach","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t"
"pthread_exit","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","void","pthread_addr_t"
"pthread_get_stackaddr_np","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","void*","pthread_t"
"pthread_get_stacksize_np","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","size_t","pthread_t"
"pthread_getaffinity_np","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP)","int","pthread_t","size_t","FAR cpu_set_t*"
"pthread_getschedparam","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t","FAR int*","FAR struct sched_param*"
"pthread_getspecific","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","FAR void*","pthread_key_t"
1 _exit unistd.h void int
84 pthread_create pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_t*
85 pthread_detach pthread.h !defined(CONFIG_DISABLE_PTHREAD) int pthread_t
86 pthread_exit pthread.h !defined(CONFIG_DISABLE_PTHREAD) void pthread_addr_t
87 pthread_get_stackaddr_np pthread.h !defined(CONFIG_DISABLE_PTHREAD) void* pthread_t
88 pthread_get_stacksize_np pthread.h !defined(CONFIG_DISABLE_PTHREAD) size_t pthread_t
89 pthread_getaffinity_np pthread.h !defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP) int pthread_t
90 pthread_getschedparam pthread.h !defined(CONFIG_DISABLE_PTHREAD) int pthread_t
91 pthread_getspecific pthread.h !defined(CONFIG_DISABLE_PTHREAD) FAR void* pthread_key_t