Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/tests/posix/common/src/
Dpthread_key.c130 pthread_t newthread[N_THR]; in test_posix_multiple_threads_single_key() local
154 ret = pthread_create(&newthread[i], &attr[i], thread_top, in test_posix_multiple_threads_single_key()
163 pthread_join(newthread[i], &retval); in test_posix_multiple_threads_single_key()
179 pthread_t newthread; in test_posix_single_thread_multiple_keys() local
199 ret = pthread_create(&newthread, &attr, thread_func, in test_posix_single_thread_multiple_keys()
205 pthread_join(newthread, NULL); in test_posix_single_thread_multiple_keys()
Dmqueue.c70 pthread_t newthread[N_THR]; in test_posix_mqueue() local
87 ret = pthread_create(&newthread[i], &attr[i], in test_posix_mqueue()
91 ret = pthread_create(&newthread[i], &attr[i], in test_posix_mqueue()
103 pthread_join(newthread[i], &retval); in test_posix_mqueue()
Dpthread.c238 pthread_t newthread[N_THR_E]; in test_posix_pthread_execution() local
306 ret = pthread_create(&newthread[0], &attr[0], in test_posix_pthread_execution()
340 ret = pthread_create(&newthread[i], &attr[i], thread_top_exec, in test_posix_pthread_execution()
348 ret = pthread_getname_np(newthread[0], NULL, sizeof(thr_name_buf)); in test_posix_pthread_execution()
352 ret = pthread_setname_np(newthread[0], NULL); in test_posix_pthread_execution()
356 ret = pthread_setname_np(newthread[0], thr_name); in test_posix_pthread_execution()
360 ret = pthread_getname_np(newthread[0], thr_name_buf, in test_posix_pthread_execution()
391 pthread_join(newthread[i], &retval); in test_posix_pthread_execution()
477 pthread_t newthread[N_THR_T]; in test_posix_pthread_termination() local
498 ret = pthread_create(&newthread[i], &attr[i], thread_top_term, in test_posix_pthread_termination()
[all …]
Dposix_rwlock.c61 pthread_t newthread[N_THR]; in test_posix_rw_lock() local
95 ret = pthread_create(&newthread[i], &attr[i], thread_top, in test_posix_rw_lock()
139 zassert_false(pthread_join(newthread[i], &status), in test_posix_rw_lock()
/Zephyr-Core-2.7.6/lib/posix/
Dpthread.c133 int pthread_create(pthread_t *newthread, const pthread_attr_t *attr, in pthread_create() argument
188 *newthread = (pthread_t) k_thread_create(&thread->thread, attr->stack, in pthread_create()
/Zephyr-Core-2.7.6/include/posix/
Dpthread.h500 int pthread_create(pthread_t *newthread, const pthread_attr_t *attr,