Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.6.0/lib/posix/options/
DKconfig.barrier14 bool "Use a pthread_barrier_t to serialize pthread_create()"
18 pthread_create() and zephyr_thread_wrapper() when spawning and joining
DKconfig.pthread8 type-function = pthread_create
21 on calls to pthread_create() there is no need to worry about resource
Dtimer.c171 ret = pthread_create(&timer->thread, evp->sigev_notify_attributes, in timer_create()
Dmqueue.c472 ret = pthread_create(&th, in send_message()
/Zephyr-Core-3.6.0/tests/posix/common/src/
Dmutex.c70 zassert_ok(pthread_create(&th, NULL, entry, NULL)); in test_mutex_common()
180 zassert_ok(pthread_create(&th, NULL, test_mutex_timedlock_fn, &mutex)); in ZTEST()
187 zassert_ok(pthread_create(&th, NULL, test_mutex_timedlock_fn, &mutex)); in ZTEST()
Dsemaphore.c49 ret = pthread_create(&thread1, NULL, child_func, sem); in semaphore_test()
82 zassert_equal(pthread_create(&thread2, NULL, child_func, sem), 0, in semaphore_test()
286 zassert_ok(pthread_create(&thread1, NULL, nsem_open_func, "sem1")); in ZTEST()
287 zassert_ok(pthread_create(&thread2, NULL, nsem_close_func, different_sem1)); in ZTEST()
Dpthread.c277 ret = pthread_create(&newthread[i], NULL, thread_top_exec, INT_TO_POINTER(i)); in ZTEST()
352 zassert_ok(pthread_create(&newthread[i], NULL, thread_top_term, INT_TO_POINTER(i))); in ZTEST()
386 zassert_ok(pthread_create(&pthread1, NULL, create_thread1, NULL), in ZTEST()
498 zassert_ok(pthread_create(&th, NULL, test_pthread_cleanup_entry, NULL)); in ZTEST()
536 zassert_ok(pthread_create(&th, NULL, test_pthread_cancel_fn, NULL)); in ZTEST()
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()
Drwlock.c75 zassert_ok(pthread_create(&newthread[i], NULL, thread_top, NULL), in ZTEST()
Dsignal.c304 zassert_ok(pthread_create(&th, NULL, test_sigmask_entry, pthread_sigmask)); in ZTEST()
318 zassert_ok(pthread_create(&th, NULL, test_sigmask_entry, sigprocmask)); in ZTEST()
Dpthread_attr.c45 zassert_ok(pthread_create(&th, attrp, thread_entry, UINT_TO_POINTER(joinable))); in create_thread_common()
47 zassert_not_ok(pthread_create(&th, attrp, thread_entry, UINT_TO_POINTER(joinable))); in create_thread_common()
Dmqueue.c84 zassert_ok(pthread_create(&newthread[i], NULL, in ZTEST()
/Zephyr-Core-3.6.0/lib/libc/common/source/thrd/
Dthrd.c25 switch (pthread_create(thr, NULL, pfunc, arg)) { in thrd_create()
/Zephyr-Core-3.6.0/scripts/native_simulator/common/src/
Dnce.c209 NSI_SAFE_CALL(pthread_create(&sw_thread, NULL, sw_wrapper, this_arg)); in nce_boot_cpu()
Dnct.c474 NSI_SAFE_CALL(pthread_create(&tt_el->thread, in nct_new_thread()
/Zephyr-Core-3.6.0/tests/posix/headers/src/
Dpthread_h.c103 zassert_not_null(pthread_create); in ZTEST()
/Zephyr-Core-3.6.0/tests/modules/thrift/ThriftTest/src/
Dmain.cpp143 rv = pthread_create(&context.server_thread, attrp, server_func, nullptr); in thrift_test_before()
/Zephyr-Core-3.6.0/arch/posix/include/
Dposix_cheats.h146 #define pthread_create(...) zap_pthread_create(__VA_ARGS__) macro
/Zephyr-Core-3.6.0/samples/posix/philosophers/src/
Dmain.c220 ret = pthread_create(&threads[i], NULL, philosopher, INT_TO_POINTER(i)); in start_threads()
/Zephyr-Core-3.6.0/tests/posix/pthread_pressure/src/
Dmain.c180 return pthread_create(&pthreads[i], &pthread_attrs[i], pthread_fun, INT_TO_POINTER(i)); in pthread_create_wrapper()
/Zephyr-Core-3.6.0/arch/posix/core/
Dposix_core.c371 PC_SAFE_CALL(pthread_create(&threads_table[t_slot].thread, in posix_new_thread()
/Zephyr-Core-3.6.0/samples/net/sockets/socketpair/src/
Dmain.c134 res = pthread_create(&ctx[i].thread, attrp, fun, &ctx[i]); in setup()
/Zephyr-Core-3.6.0/include/zephyr/posix/
Dpthread.h439 int pthread_create(pthread_t *newthread, const pthread_attr_t *attr,
/Zephyr-Core-3.6.0/subsys/fs/
Dfuse_fs_access.c509 err = pthread_create(&fuse_thread, NULL, fuse_fs_access_main, NULL); in fuse_fs_access_init()
/Zephyr-Core-3.6.0/doc/services/portability/posix/option_groups/
Dindex.rst45 pthread_create(),yes

12