Home
last modified time | relevance | path

Searched refs:pthread_self (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/lib/posix/options/
Dkey.c148 pthread_self()); in pthread_key_delete()
176 thread = to_posix_thread(pthread_self()); in pthread_setspecific()
199 pthread_self()); in pthread_setspecific()
220 pthread_self()); in pthread_setspecific()
232 LOG_DBG("Paired key %x to value %p for thread %x", key, value, pthread_self()); in pthread_setspecific()
251 thread = to_posix_thread(pthread_self()); in pthread_getspecific()
Dpthread.c177 pthread_t pthread_self(void) in pthread_self() function
209 t = to_posix_thread(pthread_self()); in __z_pthread_cleanup_push()
226 t = to_posix_thread(pthread_self()); in __z_pthread_cleanup_pop()
726 t = to_posix_thread(pthread_self()); in pthread_setcancelstate()
767 t = to_posix_thread(pthread_self()); in pthread_setcanceltype()
795 t = to_posix_thread(pthread_self()); in pthread_testcancel()
1044 self = to_posix_thread(pthread_self()); in pthread_exit()
1070 if (pthread == pthread_self()) { in pthread_timedjoin_internal()
1504 t = to_posix_thread(pthread_self()); in pthread_sigmask()
Dtimer.c71 ret = pthread_detach(pthread_self()); in zephyr_thread_wrapper()
Dmqueue.c407 pthread_detach(pthread_self()); in mq_notify_thread()
/Zephyr-latest/tests/posix/common/src/
Dpthread.c64 pthread_getschedparam(pthread_self(), &policy, &schedparam); in thread_top_exec()
197 self = pthread_self(); in thread_top_term()
374 ret = pthread_join(pthread_self(), &retval); in ZTEST()
516 zassert_true(pthread_equal(pthread_self(), pthread_self())); in ZTEST()
517 zassert_false(pthread_equal(pthread_self(), (pthread_t)4242)); in ZTEST()
565 zassert_ok(pthread_cancel(pthread_self())); in test_pthread_cancel_fn()
595 pthread_t self = pthread_self(); in test_pthread_setschedprio_fn()
Dmqueue.c152 zassert_not_equal(sender, pthread_self(), in notify_function_thread()
175 .sigev_value.sival_int = (int)pthread_self(), in ZTEST()
Dpthread_attr.c332 zassert_ok(pthread_getschedparam(pthread_self(), &act_policy, &param)); in inheritsched_entry()
/Zephyr-latest/lib/libc/common/source/thrd/
Dthrd.c42 return pthread_self(); in thrd_current()
/Zephyr-latest/scripts/native_simulator/common/src/
Dnct.c223 pthread_detach(pthread_self()); in nct_exit_and_cleanup()
317 pthread_detach(pthread_self()); in nct_cleanup_handler()
376 pthread_self()); in nct_thread_starter()
Dnce.c178 pthread_t sw_thread = pthread_self(); in sw_wrapper()
/Zephyr-latest/tests/posix/rwlocks/src/
Dmain.c24 id = (pthread_t)pthread_self(); in thread_top()
/Zephyr-latest/tests/posix/headers/src/
Dpthread_h.c149 zassert_not_null(pthread_self); in ZTEST()
/Zephyr-latest/samples/posix/philosophers/src/
Dmain.c93 ret = pthread_getschedparam(pthread_self(), &policy, &param); in print_phil_state()
/Zephyr-latest/arch/posix/include/
Dposix_cheats.h127 #define pthread_self(...) zap_pthread_self(__VA_ARGS__) macro
/Zephyr-latest/include/zephyr/posix/
Dpthread.h379 pthread_t pthread_self(void);
/Zephyr-latest/doc/services/portability/posix/option_groups/
Dindex.rst600 pthread_self(),yes