Home
last modified time | relevance | path

Searched refs:newthread (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/posix/common/src/
Dkey.c80 pthread_t newthread[N_THR]; in ZTEST() local
87 zassert_ok(pthread_create(&newthread[i], NULL, thread_top, NULL), in ZTEST()
92 zassert_ok(pthread_join(newthread[i], &retval), "failed to join thread %d", i); in ZTEST()
100 pthread_t newthread; in ZTEST() local
106 zassert_ok(pthread_create(&newthread, NULL, thread_func, NULL), in ZTEST()
109 zassert_ok(pthread_join(newthread, NULL), "failed to join thread"); in ZTEST()
Dpthread.c264 pthread_t newthread[N_THR_E]; in ZTEST() local
285 ret = pthread_create(&newthread[i], NULL, thread_top_exec, INT_TO_POINTER(i)); in ZTEST()
295 ret = pthread_getname_np(newthread[0], NULL, sizeof(thr_name_buf)); in ZTEST()
299 ret = pthread_setname_np(newthread[0], NULL); in ZTEST()
303 ret = pthread_setname_np(newthread[0], thr_name); in ZTEST()
307 ret = pthread_getname_np(newthread[0], thr_name_buf, in ZTEST()
337 pthread_join(newthread[i], &retval); in ZTEST()
355 pthread_t newthread[N_THR_T] = {0}; in ZTEST() local
360 zassert_ok(pthread_create(&newthread[i], NULL, thread_top_term, INT_TO_POINTER(i))); in ZTEST()
369 zassert_ok(pthread_join(newthread[i], &retval)); in ZTEST()
[all …]
Dmqueue.c75 pthread_t newthread[N_THR]; in ZTEST() local
84 zassert_ok(pthread_create(&newthread[i], NULL, in ZTEST()
91 pthread_join(newthread[i], &retval); in ZTEST()
/Zephyr-latest/tests/posix/rwlocks/src/
Dmain.c53 pthread_t newthread[N_THR]; in ZTEST() local
75 zassert_ok(pthread_create(&newthread[i], NULL, thread_top, NULL), in ZTEST()
114 zassert_ok(pthread_join(newthread[i], &status), "Failed to join"); in ZTEST()
/Zephyr-latest/include/zephyr/posix/
Dpthread.h437 int pthread_create(pthread_t *newthread, const pthread_attr_t *attr,