Searched refs:newthread (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-3.7.0/tests/posix/common/src/ |
D | key.c | 80 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()
|
D | pthread.c | 256 pthread_t newthread[N_THR_E]; in ZTEST() local 277 ret = pthread_create(&newthread[i], NULL, thread_top_exec, INT_TO_POINTER(i)); in ZTEST() 287 ret = pthread_getname_np(newthread[0], NULL, sizeof(thr_name_buf)); in ZTEST() 291 ret = pthread_setname_np(newthread[0], NULL); in ZTEST() 295 ret = pthread_setname_np(newthread[0], thr_name); in ZTEST() 299 ret = pthread_getname_np(newthread[0], thr_name_buf, in ZTEST() 329 pthread_join(newthread[i], &retval); in ZTEST() 347 pthread_t newthread[N_THR_T] = {0}; in ZTEST() local 352 zassert_ok(pthread_create(&newthread[i], NULL, thread_top_term, INT_TO_POINTER(i))); in ZTEST() 361 zassert_ok(pthread_join(newthread[i], &retval)); in ZTEST() [all …]
|
D | rwlock.c | 53 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()
|
D | mqueue.c | 75 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-Core-3.7.0/include/zephyr/posix/ |
D | pthread.h | 427 int pthread_create(pthread_t *newthread, const pthread_attr_t *attr,
|