Searched refs:attr1 (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-2.7.6/tests/posix/common/src/ |
D | semaphore.c | 50 pthread_attr_t attr1, attr2; in test_posix_semaphore() local 54 initialize_thread_attr(&attr1); in test_posix_semaphore() 80 ret = pthread_create(&thread1, &attr1, child_func, NULL); in test_posix_semaphore() 106 zassert_equal(pthread_attr_destroy(&attr1), 0, in test_posix_semaphore()
|
D | pthread.c | 544 pthread_attr_t attr1; in test_posix_pthread_create_negative() local 551 ret = pthread_attr_init(&attr1); in test_posix_pthread_create_negative() 554 attr1.stack = NULL; in test_posix_pthread_create_negative() 555 ret = pthread_create(&pthread1, &attr1, create_thread1, (void *)1); in test_posix_pthread_create_negative() 559 pthread_attr_setstack(&attr1, &stack_1, 0); in test_posix_pthread_create_negative() 560 ret = pthread_create(&pthread1, &attr1, create_thread1, (void *)1); in test_posix_pthread_create_negative()
|