Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/lib/posix/options/
Dkey.c155 LOG_DBG("Freed key data %p for key %x in thread %x", key_data, key, pthread_self()); in pthread_key_delete()
184 thread = to_posix_thread(pthread_self()); in pthread_setspecific()
212 pthread_self()); in pthread_setspecific()
227 pthread_self()); in pthread_setspecific()
239 LOG_DBG("Paired key %x to value %p for thread %x", key, value, pthread_self()); in pthread_setspecific()
262 thread = to_posix_thread(pthread_self()); in pthread_getspecific()
Dpthread.c175 pthread_t pthread_self(void) in pthread_self() function
223 t = to_posix_thread(pthread_self()); in __z_pthread_cleanup_push()
240 t = to_posix_thread(pthread_self()); in __z_pthread_cleanup_pop()
628 t = to_posix_thread(pthread_self()); in pthread_setcancelstate()
667 t = to_posix_thread(pthread_self()); in pthread_setcanceltype()
693 t = to_posix_thread(pthread_self()); in pthread_testcancel()
895 self = to_posix_thread(pthread_self()); in pthread_exit()
926 if (pthread == pthread_self()) { in pthread_join()
1309 t = to_posix_thread(pthread_self()); in pthread_sigmask()
Dtimer.c70 ret = pthread_detach(pthread_self()); in zephyr_thread_wrapper()
Dmqueue.c407 pthread_detach(pthread_self()); in mq_notify_thread()
/Zephyr-Core-3.6.0/tests/posix/common/src/
Dpthread.c64 pthread_getschedparam(pthread_self(), &policy, &schedparam); in thread_top_exec()
189 self = pthread_self(); in thread_top_term()
366 ret = pthread_join(pthread_self(), &retval); in ZTEST()
445 zassert_true(pthread_equal(pthread_self(), pthread_self())); in ZTEST()
446 zassert_false(pthread_equal(pthread_self(), (pthread_t)4242)); in ZTEST()
517 zassert_ok(pthread_cancel(pthread_self())); in test_pthread_cancel_fn()
Dmqueue.c152 zassert_not_equal(sender, pthread_self(), in notify_function_thread()
175 .sigev_value.sival_int = (int)pthread_self(), in ZTEST()
Drwlock.c24 id = (pthread_t)pthread_self(); in thread_top()
/Zephyr-Core-3.6.0/arch/posix/core/
Dposix_core.c173 pthread_detach(pthread_self()); in posix_preexit_cleanup()
244 pthread_detach(pthread_self()); in posix_cleanup_handler()
303 pthread_self()); in posix_thread_starter()
/Zephyr-Core-3.6.0/lib/libc/common/source/thrd/
Dthrd.c42 return pthread_self(); in thrd_current()
/Zephyr-Core-3.6.0/scripts/native_simulator/common/src/
Dnct.c221 pthread_detach(pthread_self()); in nct_exit_and_cleanup()
315 pthread_detach(pthread_self()); in nct_cleanup_handler()
374 pthread_self()); in nct_thread_starter()
Dnce.c178 pthread_t sw_thread = pthread_self(); in sw_wrapper()
/Zephyr-Core-3.6.0/tests/posix/headers/src/
Dpthread_h.c149 zassert_not_null(pthread_self); in ZTEST()
/Zephyr-Core-3.6.0/arch/posix/include/
Dposix_cheats.h127 #define pthread_self(...) zap_pthread_self(__VA_ARGS__) macro
/Zephyr-Core-3.6.0/samples/posix/philosophers/src/
Dmain.c93 ret = pthread_getschedparam(pthread_self(), &policy, &param); in print_phil_state()
/Zephyr-Core-3.6.0/include/zephyr/posix/
Dpthread.h383 pthread_t pthread_self(void);
/Zephyr-Core-3.6.0/doc/services/portability/posix/option_groups/
Dindex.rst62 pthread_self(),yes