Home
last modified time | relevance | path

Searched refs:pthread_create (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-4.3.0/tests/posix/common/src/
Dkey.c87 zassert_ok(pthread_create(&newthread[i], NULL, thread_top, NULL), in ZTEST()
106 zassert_ok(pthread_create(&newthread, NULL, thread_func, NULL), in ZTEST()
171 zassert_ok(pthread_create(&thread, NULL, setspecific_thread, &alloc_count_t0), in ZTEST()
176 zassert_ok(pthread_create(&thread, NULL, setspecific_thread, &alloc_count_t1), in ZTEST()
Dpthread.c284 ret = pthread_create(&newthread[i], NULL, thread_top_exec, INT_TO_POINTER(i)); in ZTEST()
358 zassert_ok(pthread_create(&newthread[i], NULL, thread_top_term, INT_TO_POINTER(i))); in ZTEST()
387 zassert_ok(pthread_create(&th, NULL, timedjoin_thread, INT_TO_POINTER(sleep_duration_ms))); in ZTEST()
427 zassert_ok(pthread_create(&th, NULL, timedjoin_thread, INT_TO_POINTER(sleep_duration_ms))); in ZTEST()
454 zassert_ok(pthread_create(&pthread1, NULL, create_thread1, NULL), in ZTEST()
492 zassert_ok(pthread_create(&th, NULL, test_pthread_cleanup_entry, NULL)); in ZTEST()
530 zassert_ok(pthread_create(&th, NULL, test_pthread_cancel_fn, NULL)); in ZTEST()
558 zassert_ok(pthread_create(&th, NULL, test_pthread_setschedprio_fn, NULL)); in ZTEST()
Dmutex.c80 zassert_ok(pthread_create(&th, NULL, entry, NULL)); in test_mutex_common()
202 zassert_ok(pthread_create(&th, NULL, test_mutex_timedlock_fn, &mutex)); in ZTEST()
209 zassert_ok(pthread_create(&th, NULL, test_mutex_timedlock_fn, &mutex)); in ZTEST()
Dpthread_attr.c46 zassert_ok(pthread_create(&th, attrp, entry, arg)); in create_thread_common_entry()
48 zassert_not_ok(pthread_create(&th, attrp, entry, arg)); in create_thread_common_entry()
/Zephyr-4.3.0/lib/posix/options/
DKconfig.barrier26 bool "Use a POSIX barrier to serialize pthread_create()"
30 pthread_create() and zephyr_thread_wrapper() when spawning and joining
DKconfig.pthread20 pthread_create(), pthread_detach(), pthread_equal(), pthread_exit(),
74 on calls to pthread_create() there is no need to worry about resource
Dtimer.c176 ret = pthread_create(&timer->thread, evp->sigev_notify_attributes, in timer_create()
Dmqueue.c483 ret = pthread_create(&th, in send_message()
Dpthread.c588 int pthread_create(pthread_t *th, const pthread_attr_t *_attr, void *(*threadroutine)(void *), in pthread_create() function
/Zephyr-4.3.0/tests/posix/semaphores/src/
Dmain.c57 ret = pthread_create(&thread1, NULL, child_func, sem); in semaphore_test()
87 zassert_equal(pthread_create(&thread2, NULL, child_func, sem), 0, "Thread creation failed"); in semaphore_test()
292 zassert_ok(pthread_create(&thread1, NULL, nsem_open_func, "sem1")); in ZTEST()
293 zassert_ok(pthread_create(&thread2, NULL, nsem_close_func, different_sem1)); in ZTEST()
/Zephyr-4.3.0/samples/posix/env/src/
Dmain.c71 return pthread_create(&th, NULL, entry, NULL); in main()
/Zephyr-4.3.0/lib/libc/common/source/thrd/
Dthrd.c26 switch (pthread_create(thr, NULL, pfunc, arg)) { in thrd_create()
/Zephyr-4.3.0/tests/posix/xsi_threads_ext/src/
Dmain.c48 zassert_ok(pthread_create(&th, attrp, entry, arg)); in create_thread_common_entry()
50 zassert_not_ok(pthread_create(&th, attrp, entry, arg)); in create_thread_common_entry()
/Zephyr-4.3.0/scripts/native_simulator/common/src/
Dnce.c171 NSI_SAFE_CALL(pthread_create(&sw_thread, NULL, sw_wrapper, this_arg)); in nce_boot_cpu()
Dnct.c414 NSI_SAFE_CALL(pthread_create(&tt_el->thread, in nct_new_thread()
/Zephyr-4.3.0/tests/posix/rwlocks/src/
Dmain.c76 zassert_ok(pthread_create(&newthread[i], NULL, thread_top, NULL), in ZTEST()
/Zephyr-4.3.0/tests/modules/thrift/ThriftTest/src/
Dmain.cpp143 rv = pthread_create(&context.server_thread, attrp, server_func, nullptr); in thrift_test_before()
/Zephyr-4.3.0/samples/posix/philosophers/src/
Dmain.c221 ret = pthread_create(&threads[i], NULL, philosopher, INT_TO_POINTER(i)); in start_threads()
/Zephyr-4.3.0/tests/benchmarks/posix/threads/src/
Dmain.c177 return pthread_create(&pthreads[i], &pthread_attrs[i], pthread_fun, INT_TO_POINTER(i)); in pthread_create_wrapper()
/Zephyr-4.3.0/tests/posix/signals/src/
Dmain.c347 zassert_ok(pthread_create(&th, NULL, test_sigmask_entry, pthread_sigmask)); in ZTEST()
361 zassert_ok(pthread_create(&th, NULL, test_sigmask_entry, sigprocmask)); in ZTEST()
/Zephyr-4.3.0/samples/net/sockets/socketpair/src/
Dmain.c134 res = pthread_create(&ctx[i].thread, attrp, fun, &ctx[i]); in setup()
/Zephyr-4.3.0/include/zephyr/posix/
Dpthread.h437 int pthread_create(pthread_t *newthread, const pthread_attr_t *attr,
/Zephyr-4.3.0/tests/posix/xsi_realtime/src/
Dmqueue.c81 zassert_ok(pthread_create(&newthread[i], NULL, in ZTEST()
/Zephyr-4.3.0/lib/posix/
DKconfig.profile14 select POSIX_BASE_DEFINITIONS # clock_gettime(), pthread_create(), sem_get(), etc
/Zephyr-4.3.0/subsys/fs/
Dfuse_fs_access_bottom.c704 err = pthread_create(&fuse_thread, NULL, ffsa_main, (void *)fuse_mountpoint);

12