Searched refs:pthread_self (Results 1 – 16 of 16) sorted by relevance
/Zephyr-Core-3.6.0/lib/posix/options/ |
D | key.c | 155 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()
|
D | pthread.c | 175 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()
|
D | timer.c | 70 ret = pthread_detach(pthread_self()); in zephyr_thread_wrapper()
|
D | mqueue.c | 407 pthread_detach(pthread_self()); in mq_notify_thread()
|
/Zephyr-Core-3.6.0/tests/posix/common/src/ |
D | pthread.c | 64 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()
|
D | mqueue.c | 152 zassert_not_equal(sender, pthread_self(), in notify_function_thread() 175 .sigev_value.sival_int = (int)pthread_self(), in ZTEST()
|
D | rwlock.c | 24 id = (pthread_t)pthread_self(); in thread_top()
|
/Zephyr-Core-3.6.0/arch/posix/core/ |
D | posix_core.c | 173 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/ |
D | thrd.c | 42 return pthread_self(); in thrd_current()
|
/Zephyr-Core-3.6.0/scripts/native_simulator/common/src/ |
D | nct.c | 221 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()
|
D | nce.c | 178 pthread_t sw_thread = pthread_self(); in sw_wrapper()
|
/Zephyr-Core-3.6.0/tests/posix/headers/src/ |
D | pthread_h.c | 149 zassert_not_null(pthread_self); in ZTEST()
|
/Zephyr-Core-3.6.0/arch/posix/include/ |
D | posix_cheats.h | 127 #define pthread_self(...) zap_pthread_self(__VA_ARGS__) macro
|
/Zephyr-Core-3.6.0/samples/posix/philosophers/src/ |
D | main.c | 93 ret = pthread_getschedparam(pthread_self(), &policy, ¶m); in print_phil_state()
|
/Zephyr-Core-3.6.0/include/zephyr/posix/ |
D | pthread.h | 383 pthread_t pthread_self(void);
|
/Zephyr-Core-3.6.0/doc/services/portability/posix/option_groups/ |
D | index.rst | 62 pthread_self(),yes
|