Searched refs:zbus_obs_attach_to_thread (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/samples/subsys/zbus/priority_boost/src/ |
D | main.c | 27 IF_ENABLED(CONFIG_ZBUS_PRIORITY_BOOST, (zbus_obs_attach_to_thread(&s1);)); in s1_thread() 60 IF_ENABLED(CONFIG_ZBUS_PRIORITY_BOOST, (zbus_obs_attach_to_thread(&ms1);)); in ms1_thread() 87 IF_ENABLED(CONFIG_ZBUS_PRIORITY_BOOST, (zbus_obs_attach_to_thread(&ms2);)); in ms2_thread()
|
/Zephyr-latest/tests/subsys/zbus/hlp_priority_boost/src/ |
D | main.c | 41 zbus_obs_attach_to_thread(ptr1); in consumer_sub_thread() 68 zbus_obs_attach_to_thread(ptr1); in consumer_msg_sub_thread()
|
/Zephyr-latest/tests/subsys/zbus/unittests/src/ |
D | main.c | 790 zassert_equal(-EFAULT, zbus_obs_attach_to_thread(NULL), NULL); in isr_obs_attach_detach() 791 zassert_equal(-EFAULT, zbus_obs_attach_to_thread(&foo_sub), NULL); in isr_obs_attach_detach() 792 zassert_equal(-EFAULT, zbus_obs_attach_to_thread(&invalid_sub), NULL); in isr_obs_attach_detach() 801 zassert_equal(-EFAULT, zbus_obs_attach_to_thread(NULL), NULL); in ZTEST() 802 zassert_equal(0, zbus_obs_attach_to_thread(&foo_sub), NULL); in ZTEST() 804 zassert_equal(0, zbus_obs_attach_to_thread(&invalid_sub), NULL); in ZTEST()
|
/Zephyr-latest/samples/subsys/zbus/priority_boost/ |
D | README.rst | 32 The developer must use the :c:func:`zbus_obs_attach_to_thread` function to ensure a proper
|
/Zephyr-latest/include/zephyr/zbus/ |
D | zbus.h | 1012 int zbus_obs_attach_to_thread(const struct zbus_observer *obs);
|
/Zephyr-latest/subsys/zbus/ |
D | zbus.c | 283 int zbus_obs_attach_to_thread(const struct zbus_observer *obs) in zbus_obs_attach_to_thread() function
|
/Zephyr-latest/doc/services/zbus/ |
D | index.rst | 344 zbus_obs_attach_to_thread(&s1); 355 On the above code, the :c:func:`zbus_obs_attach_to_thread` will set the ``s1`` observer with
|
/Zephyr-latest/doc/releases/ |
D | migration-guide-3.6.rst | 659 :c:func:`zbus_obs_attach_to_thread` inside the attaching thread. The observer will then assume the
|