Add SYSCALLS for pthread_setaffinity() and pthread_getaffinity()

This commit is contained in:
Gregory Nutt
2016-02-19 18:13:06 -06:00
parent 1b5e296cf2
commit 5a590e99b9
6 changed files with 31 additions and 16 deletions
+2
View File
@@ -72,6 +72,7 @@
"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_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"
"pthread_join","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t","FAR pthread_addr_t*"
@@ -84,6 +85,7 @@
"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_once","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","FAR pthread_once_t*","CODE void (*)(void)"
"pthread_setaffinity_np","pthread.h","!defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP)","int","pthread_t","size_t","FAR const cpu_set_t*"
"pthread_setcancelstate","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","int","FAR int*"
"pthread_setschedparam","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t","int","FAR const struct sched_param*"
"pthread_setschedprio","pthread.h","!defined(CONFIG_DISABLE_PTHREAD)","int","pthread_t","int"
1 _exit unistd.h void int
72 pthread_create pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_t*
73 pthread_detach pthread.h !defined(CONFIG_DISABLE_PTHREAD) int pthread_t
74 pthread_exit pthread.h !defined(CONFIG_DISABLE_PTHREAD) void pthread_addr_t
75 pthread_getaffinity_np pthread.h !defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP) int pthread_t
76 pthread_getschedparam pthread.h !defined(CONFIG_DISABLE_PTHREAD) int pthread_t
77 pthread_getspecific pthread.h !defined(CONFIG_DISABLE_PTHREAD) FAR void* pthread_key_t
78 pthread_join pthread.h !defined(CONFIG_DISABLE_PTHREAD) int pthread_t
85 pthread_mutex_trylock pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_mutex_t*
86 pthread_mutex_unlock pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_mutex_t*
87 pthread_once pthread.h !defined(CONFIG_DISABLE_PTHREAD) int FAR pthread_once_t*
88 pthread_setaffinity_np pthread.h !defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_SMP) int pthread_t
89 pthread_setcancelstate pthread.h !defined(CONFIG_DISABLE_PTHREAD) int int
90 pthread_setschedparam pthread.h !defined(CONFIG_DISABLE_PTHREAD) int pthread_t
91 pthread_setschedprio pthread.h !defined(CONFIG_DISABLE_PTHREAD) int pthread_t