Home
last modified time | relevance | path

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

12

/Zephyr-latest/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.c285 ret = pthread_create(&newthread[i], NULL, thread_top_exec, INT_TO_POINTER(i)); in ZTEST()
360 zassert_ok(pthread_create(&newthread[i], NULL, thread_top_term, INT_TO_POINTER(i))); in ZTEST()
389 zassert_ok(pthread_create(&th, NULL, timedjoin_thread, INT_TO_POINTER(sleep_duration_ms))); in ZTEST()
430 zassert_ok(pthread_create(&th, NULL, timedjoin_thread, INT_TO_POINTER(sleep_duration_ms))); in ZTEST()
457 zassert_ok(pthread_create(&pthread1, NULL, create_thread1, NULL), in ZTEST()
546 zassert_ok(pthread_create(&th, NULL, test_pthread_cleanup_entry, NULL)); in ZTEST()
584 zassert_ok(pthread_create(&th, NULL, test_pthread_cancel_fn, NULL)); in ZTEST()
612 zassert_ok(pthread_create(&th, NULL, test_pthread_setschedprio_fn, NULL)); in ZTEST()
Dmutex.c79 zassert_ok(pthread_create(&th, NULL, entry, NULL)); in test_mutex_common()
201 zassert_ok(pthread_create(&th, NULL, test_mutex_timedlock_fn, &mutex)); in ZTEST()
208 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()
Dmqueue.c84 zassert_ok(pthread_create(&newthread[i], NULL, in ZTEST()
/Zephyr-latest/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
Dtimer.c172 ret = pthread_create(&timer->thread, evp->sigev_notify_attributes, in timer_create()
DKconfig.profile9 select POSIX_BASE_DEFINITIONS # clock_gettime(), pthread_create(), sem_get(), etc
Dmqueue.c471 ret = pthread_create(&th, in send_message()
/Zephyr-latest/tests/posix/semaphores/src/
Dmain.c49 ret = pthread_create(&thread1, NULL, child_func, sem); in semaphore_test()
82 zassert_equal(pthread_create(&thread2, NULL, child_func, sem), 0, "Thread creation failed"); in semaphore_test()
287 zassert_ok(pthread_create(&thread1, NULL, nsem_open_func, "sem1")); in ZTEST()
288 zassert_ok(pthread_create(&thread2, NULL, nsem_close_func, different_sem1)); in ZTEST()
/Zephyr-latest/samples/posix/env/src/
Dmain.c68 return pthread_create(&th, NULL, entry, NULL); in main()
/Zephyr-latest/lib/libc/common/source/thrd/
Dthrd.c25 switch (pthread_create(thr, NULL, pfunc, arg)) { in thrd_create()
/Zephyr-latest/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-latest/scripts/native_simulator/common/src/
Dnce.c209 NSI_SAFE_CALL(pthread_create(&sw_thread, NULL, sw_wrapper, this_arg)); in nce_boot_cpu()
Dnct.c476 NSI_SAFE_CALL(pthread_create(&tt_el->thread, in nct_new_thread()
/Zephyr-latest/tests/posix/rwlocks/src/
Dmain.c75 zassert_ok(pthread_create(&newthread[i], NULL, thread_top, NULL), in ZTEST()
/Zephyr-latest/tests/posix/headers/src/
Dpthread_h.c103 zassert_not_null(pthread_create); in ZTEST()
/Zephyr-latest/tests/modules/thrift/ThriftTest/src/
Dmain.cpp143 rv = pthread_create(&context.server_thread, attrp, server_func, nullptr); in thrift_test_before()
/Zephyr-latest/samples/posix/philosophers/src/
Dmain.c220 ret = pthread_create(&threads[i], NULL, philosopher, INT_TO_POINTER(i)); in start_threads()
/Zephyr-latest/arch/posix/include/
Dposix_cheats.h146 #define pthread_create(...) zap_pthread_create(__VA_ARGS__) macro
/Zephyr-latest/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-latest/samples/net/sockets/socketpair/src/
Dmain.c134 res = pthread_create(&ctx[i].thread, attrp, fun, &ctx[i]); in setup()
/Zephyr-latest/tests/posix/signals/src/
Dmain.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()
/Zephyr-latest/include/zephyr/posix/
Dpthread.h437 int pthread_create(pthread_t *newthread, const pthread_attr_t *attr,
/Zephyr-latest/subsys/fs/
Dfuse_fs_access.c513 err = pthread_create(&fuse_thread, NULL, fuse_fs_access_main, NULL); in fuse_fs_access_init()

12