Home
last modified time | relevance | path

Searched refs:ThreadNotification (Results 1 – 25 of 37) sorted by relevance

12

/aosp_15_r20/external/pigweed/pw_sync/public/pw_sync/
H A Dthread_notification.h36 class ThreadNotification {
40 ThreadNotification();
41 ~ThreadNotification();
42 ThreadNotification(const ThreadNotification&) = delete;
43 ThreadNotification(ThreadNotification&&) = delete;
44 ThreadNotification& operator=(const ThreadNotification&) = delete;
45 ThreadNotification& operator=(ThreadNotification&&) = delete;
H A Dtimed_thread_notification.h38 class TimedThreadNotification : public ThreadNotification {
/aosp_15_r20/external/pigweed/pw_sync_zephyr/public/pw_sync_zephyr/
H A Dthread_notification_inline.h24 inline ThreadNotification::ThreadNotification() : native_type_() {} in ThreadNotification() function
26 inline ThreadNotification::~ThreadNotification() = default;
28 inline void ThreadNotification::release() { native_type_.release(); } in release()
30 inline void ThreadNotification::acquire() { native_type_.acquire(); } in acquire()
32 inline bool ThreadNotification::try_acquire() { in try_acquire()
36 inline ThreadNotification::native_handle_type
37 ThreadNotification::native_handle() { in native_handle()
/aosp_15_r20/external/pigweed/pw_sync/public/pw_sync/backends/
H A Dbinary_semaphore_thread_notification_inline.h20 inline ThreadNotification::ThreadNotification() : native_type_() {} in ThreadNotification() function
22 inline ThreadNotification::~ThreadNotification() {} in ~ThreadNotification()
24 inline void ThreadNotification::acquire() { native_type_.acquire(); } in acquire()
26 inline bool ThreadNotification::try_acquire() { in try_acquire()
30 inline void ThreadNotification::release() { native_type_.release(); } in release()
32 inline ThreadNotification::native_handle_type
33 ThreadNotification::native_handle() { in native_handle()
/aosp_15_r20/external/pigweed/pw_sync/
H A Dthread_notification_facade_test.cc23 TEST(ThreadNotification, EmptyInitialState) { in TEST() argument
24 ThreadNotification notification; in TEST()
30 TEST(ThreadNotification, Release) { in TEST() argument
31 ThreadNotification notification; in TEST()
39 ThreadNotification empty_initial_notification;
40 TEST(ThreadNotification, EmptyInitialStateStatic) { in TEST() argument
44 ThreadNotification raise_notification;
45 TEST(ThreadNotification, ReleaseStatic) { in TEST() argument
H A Ddocs.rst1057 :cpp:class:`pw::sync::ThreadNotification` and
1060 ThreadNotification section in Signaling Primitives
1064 The :cpp:class:`ThreadNotification` is a synchronization primitive that can be used to
1069 Although only a single thread can block on a :cpp:class:`ThreadNotification`
1089 The :cpp:class:`ThreadNotification` is initialized to being empty (latch is not
1097 :cpp:class:`pw::sync::ThreadNotification` via argument
1127 .. doxygenclass:: pw::sync::ThreadNotification argument
1130 .. cpp:namespace-push:: pw::sync::ThreadNotification
1140 * - :cpp:class:`pw::sync::ThreadNotification::ThreadNotification`
1144 * - :cpp:func:`pw::sync::ThreadNotification::~ThreadNotification`
[all …]
/aosp_15_r20/external/pigweed/pw_sync_freertos/public/pw_sync_freertos/
H A Dthread_notification_inline.h32 inline ThreadNotification::ThreadNotification() in ThreadNotification() function
38 inline ThreadNotification::~ThreadNotification() = default;
40 inline bool ThreadNotification::try_acquire() { in try_acquire()
49 inline ThreadNotification::native_handle_type
50 ThreadNotification::native_handle() { in native_handle()
/aosp_15_r20/external/pigweed/pw_chrono/
H A Dsystem_timer_facade_test.cc90 sync::ThreadNotification callback_ran_notification; in TEST()
114 sync::ThreadNotification callback_ran_notification; in TEST()
143 sync::ThreadNotification callback_ran_notification; in TEST()
172 sync::ThreadNotification callback_ran_notification; in TEST()
189 sync::ThreadNotification callback_ran_notification; in TEST()
218 sync::ThreadNotification callbacks_done_notification; in TEST()
249 sync::ThreadNotification callbacks_done_notification; in TEST()
/aosp_15_r20/external/pigweed/pw_sync_freertos/
H A Dthread_notification_test.cc61 ThreadNotification started_notification_;
62 ThreadNotification unblock_notification_;
63 ThreadNotification finished_notification_;
67 TEST(ThreadNotification, AcquireWithoutSuspend) { in TEST() argument
90 TEST(ThreadNotification, AcquireWithSuspend) { in TEST() argument
H A Dthread_notification.cc46 void ThreadNotification::acquire() { in acquire()
81 void ThreadNotification::release() { in release()
H A Dtimed_thread_notification_test.cc65 ThreadNotification finished_notification_;
/aosp_15_r20/external/pigweed/pw_rpc_transport/
H A Degress_ingress_test.cc141 sync::ThreadNotification receiver1_done; in TEST()
142 sync::ThreadNotification receiver2_done; in TEST()
146 sync::ThreadNotification done; in TEST()
239 sync::ThreadNotification receiver1_done; in TEST()
240 sync::ThreadNotification receiver2_done; in TEST()
244 sync::ThreadNotification done; in TEST()
H A Dstream_rpc_dispatcher_test.cc57 sync::ThreadNotification done_;
114 sync::ThreadNotification available_;
H A Dlocal_rpc_egress_test.cc70 sync::ThreadNotification start_;
71 sync::ThreadNotification process_;
/aosp_15_r20/external/pigweed/pw_async_basic/
H A Ddispatcher_test.cc37 sync::ThreadNotification notification;
73 sync::ThreadNotification notification; in TEST()
98 sync::ThreadNotification notification; in TEST()
/aosp_15_r20/external/pigweed/pw_work_queue/
H A Dwork_queue_test.cc30 sync::ThreadNotification worker_ping; in TEST()
68 sync::ThreadNotification worker_ping; in TEST()
/aosp_15_r20/external/pigweed/pw_thread_freertos/
H A Dthread_iteration_test.cc43 sync::ThreadNotification start; in TEST()
44 sync::ThreadNotification end; in TEST()
/aosp_15_r20/external/pigweed/pw_channel/public/pw_channel/
H A Dstream_channel.h64 sync::ThreadNotification buffer_to_fill_available_;
93 sync::ThreadNotification data_available_;
/aosp_15_r20/external/pigweed/pw_sys_io_rp2040/
H A Ddocs.rst8 library. This backend will block on reads using a ``ThreadNotification``
H A Dsys_io.cc27 pw::sync::ThreadNotification chars_available_signal;
/aosp_15_r20/external/pigweed/pw_async2_basic/public_overrides/pw_async2/
H A Ddispatcher_native.h56 pw::sync::ThreadNotification notify_;
/aosp_15_r20/external/pigweed/pw_work_queue/public/pw_work_queue/
H A Dwork_queue.h114 sync::ThreadNotification work_notification_;
/aosp_15_r20/external/pigweed/pw_sync_embos/
H A Ddocs.rst32 ThreadNotification & TimedThreadNotification
/aosp_15_r20/external/pigweed/pw_rpc_transport/public/pw_rpc_transport/
H A Dlocal_rpc_egress.h78 sync::ThreadNotification process_queue_;
/aosp_15_r20/external/pigweed/pw_system/public/pw_system/internal/
H A Dasync_packet_io.h104 sync::ThreadNotification new_packet_available_;

12