Home
last modified time | relevance | path

Searched refs:pthread_attr_t (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/include/zephyr/posix/
Dpthread.h406 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 …]
Dposix_types.h98 typedef struct pthread_attr pthread_attr_t; typedef
99 BUILD_ASSERT(sizeof(pthread_attr_t) >= sizeof(struct pthread_attr));
Dsignal.h100 pthread_attr_t *sigev_notify_attributes;
/Zephyr-latest/tests/posix/common/src/
Dpthread_attr.c17 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, &param), in ZTEST()
225 pthread_attr_setschedpolicy((pthread_attr_t *)&uninit_attr, policy), in ZTEST()
[all …]
/Zephyr-latest/tests/posix/xsi_threads_ext/src/
Dmain.c16 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/
Dpthread.c321 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 …]
DKconfig.pthread110 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/
Dmain.c17 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/
Dmain.c103 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/
Dmain.cpp122 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/
Dmain.c167 static pthread_attr_t pthread_attrs[NUM_CPUS];
/Zephyr-latest/doc/releases/
Drelease-notes-3.6.rst1169 * Added support to allocate and free stacks up to 8 MB with pthread_attr_t.
Drelease-notes-2.3.rst801 * :github:`25614` - fix longstanding error in pthread_attr_t definition