Home
last modified time | relevance | path

Searched refs:attr2 (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-2.7.6/tests/posix/common/src/
Dmutex.c123 pthread_attr_t attr2; in test_posix_recursive_mutex() local
130 ret = pthread_attr_init(&attr2); in test_posix_recursive_mutex()
132 zassert_false(pthread_attr_destroy(&attr2), in test_posix_recursive_mutex()
134 zassert_false(pthread_attr_init(&attr2), in test_posix_recursive_mutex()
138 pthread_attr_setstack(&attr2, &stack, STACK_SIZE); in test_posix_recursive_mutex()
139 pthread_attr_setschedpolicy(&attr2, schedpolicy); in test_posix_recursive_mutex()
140 pthread_attr_setschedparam(&attr2, &schedparam2); in test_posix_recursive_mutex()
157 ret = pthread_create(&thread_2, &attr2, &recursive_mutex_entry, NULL); in test_posix_recursive_mutex()
Dsemaphore.c50 pthread_attr_t attr1, attr2; in test_posix_semaphore() local
121 initialize_thread_attr(&attr2); in test_posix_semaphore()
123 zassert_equal(pthread_create(&thread2, &attr2, child_func, NULL), 0, in test_posix_semaphore()