Home
last modified time | relevance | path

Searched refs:zbus_obs_attach_to_thread (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/samples/subsys/zbus/priority_boost/src/
Dmain.c27 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/
Dmain.c41 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/
Dmain.c790 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/
DREADME.rst32 The developer must use the :c:func:`zbus_obs_attach_to_thread` function to ensure a proper
/Zephyr-latest/include/zephyr/zbus/
Dzbus.h1012 int zbus_obs_attach_to_thread(const struct zbus_observer *obs);
/Zephyr-latest/subsys/zbus/
Dzbus.c283 int zbus_obs_attach_to_thread(const struct zbus_observer *obs) in zbus_obs_attach_to_thread() function
/Zephyr-latest/doc/services/zbus/
Dindex.rst344 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/
Dmigration-guide-3.6.rst659 :c:func:`zbus_obs_attach_to_thread` inside the attaching thread. The observer will then assume the