Searched refs:pthread_attr_t (Results 1 – 13 of 13) sorted by relevance
/Zephyr-latest/include/zephyr/posix/ |
D | pthread.h | 406 int pthread_attr_getguardsize(const pthread_attr_t *ZRESTRICT attr, size_t *ZRESTRICT guardsize); 407 int pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stacksize); 408 int pthread_attr_setguardsize(pthread_attr_t *attr, size_t guardsize); 409 int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize); 410 int pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy); 411 int pthread_attr_getschedpolicy(const pthread_attr_t *attr, int *policy); 412 int pthread_attr_setdetachstate(pthread_attr_t *attr, int detachstate); 413 int pthread_attr_getdetachstate(const pthread_attr_t *attr, int *detachstate); 414 int pthread_attr_init(pthread_attr_t *attr); 415 int pthread_attr_destroy(pthread_attr_t *attr); [all …]
|
D | posix_types.h | 98 typedef struct pthread_attr pthread_attr_t; typedef 99 BUILD_ASSERT(sizeof(pthread_attr_t) >= sizeof(struct pthread_attr));
|
D | signal.h | 100 pthread_attr_t *sigev_notify_attributes;
|
/Zephyr-latest/tests/posix/common/src/ |
D | pthread_attr.c | 17 static pthread_attr_t attr; 18 static const pthread_attr_t uninit_attr; 36 static void create_thread_common_entry(const pthread_attr_t *attrp, bool expect_success, in create_thread_common_entry() 70 static void create_thread_common(const pthread_attr_t *attrp, bool expect_success, bool joinable) in create_thread_common() 76 static inline void can_create_thread(const pthread_attr_t *attrp) in can_create_thread() 81 static inline void cannot_create_thread(const pthread_attr_t *attrp) in cannot_create_thread() 97 pthread_attr_t attr1; in ZTEST() 124 zassert_equal(pthread_attr_destroy((pthread_attr_t *)&uninit_attr), EINVAL); in ZTEST() 183 pthread_attr_setschedparam((pthread_attr_t *)&uninit_attr, ¶m), in ZTEST() 225 pthread_attr_setschedpolicy((pthread_attr_t *)&uninit_attr, policy), in ZTEST() [all …]
|
/Zephyr-latest/tests/posix/xsi_threads_ext/src/ |
D | main.c | 16 static pthread_attr_t attr; 17 static const pthread_attr_t uninit_attr; 38 static void create_thread_common_entry(const pthread_attr_t *attrp, bool expect_success, in create_thread_common_entry() 72 static void create_thread_common(const pthread_attr_t *attrp, bool expect_success, bool joinable) in create_thread_common() 78 static inline void can_create_thread(const pthread_attr_t *attrp) in can_create_thread() 127 zassert_equal(pthread_attr_setstack((pthread_attr_t *)&uninit_attr, in ZTEST() 230 zassert_equal(pthread_attr_setstacksize((pthread_attr_t *)&uninit_attr, in ZTEST()
|
/Zephyr-latest/lib/posix/options/ |
D | pthread.c | 321 int pthread_attr_setschedparam(pthread_attr_t *_attr, const struct sched_param *schedparam) in pthread_attr_setschedparam() 340 int pthread_attr_setstack(pthread_attr_t *_attr, void *stackaddr, size_t stacksize) in pthread_attr_setstack() 378 int pthread_attr_getscope(const pthread_attr_t *_attr, int *contentionscope) in pthread_attr_getscope() 394 int pthread_attr_setscope(pthread_attr_t *_attr, int contentionscope) in pthread_attr_setscope() 421 int pthread_attr_getinheritsched(const pthread_attr_t *_attr, int *inheritsched) in pthread_attr_getinheritsched() 437 int pthread_attr_setinheritsched(pthread_attr_t *_attr, int inheritsched) in pthread_attr_setinheritsched() 564 (void)pthread_attr_destroy((pthread_attr_t *)&t->attr); in posix_thread_recycle() 584 int pthread_create(pthread_t *th, const pthread_attr_t *_attr, void *(*threadroutine)(void *), in pthread_create() 629 err = pthread_attr_init((pthread_attr_t *)&t->attr); in pthread_create() 631 (void)pthread_attr_destroy((pthread_attr_t *)&t->attr); in pthread_create() [all …]
|
D | Kconfig.pthread | 110 int "Significant bits for pthread_attr_t stacksize" 115 pthread_attr_t stacksize. Valid stacksizes are in the range 119 int "Significant bits for pthread_attr_t guardsize" 124 pthread_attr_t guardsize. Valid guardsizes are in the range
|
/Zephyr-latest/tests/posix/threads_ext/src/ |
D | main.c | 17 static pthread_attr_t attr; 18 static const pthread_attr_t uninit_attr; 55 zassert_equal(pthread_attr_setguardsize((pthread_attr_t *)&uninit_attr, in ZTEST()
|
/Zephyr-latest/samples/net/sockets/socketpair/src/ |
D | main.c | 103 pthread_attr_t attr; in setup() 104 pthread_attr_t *attrp = &attr; in setup() 106 pthread_attr_t *attrp = NULL; in setup()
|
/Zephyr-latest/tests/modules/thrift/ThriftTest/src/ |
D | main.cpp | 122 pthread_attr_t attr; in thrift_test_before() 123 pthread_attr_t *attrp = &attr; in thrift_test_before()
|
/Zephyr-latest/tests/benchmarks/posix/threads/src/ |
D | main.c | 167 static pthread_attr_t pthread_attrs[NUM_CPUS];
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.6.rst | 1169 * Added support to allocate and free stacks up to 8 MB with pthread_attr_t.
|
D | release-notes-2.3.rst | 801 * :github:`25614` - fix longstanding error in pthread_attr_t definition
|