xref: /aosp_15_r20/external/pigweed/pw_async2/backends.rst (revision 61c4878ac05f98d0ceed94b57d316916de578985)
1.. _module-pw_async2-backends:
2
3==================
4pw_async2 backends
5==================
6The :ref:`pw_async2 interface <module-pw_async2-reference>` must be fulfilled
7by a concrete implementation. You can use one of the Pigweed-provided backends
8listed below or roll your own. If you roll your own, please consider
9:ref:`contributing <docs-get-started-upstream>` it to upstream Pigweed!
10
11.. _epoll: https://man7.org/linux/man-pages/man7/epoll.7.html
12
13* :ref:`module-pw_async2_basic`. A backend that uses a thread-notification-based
14  :cpp:class:`pw::async2::Dispatcher`.
15* :ref:`module-pw_async2_epoll`. A backend that uses a :cpp:class:`pw::async2::Dispatcher`
16  backed by Linux's `epoll`_ notification system.
17
18.. toctree::
19   :maxdepth: 1
20   :hidden:
21
22   Basic <../pw_async2_basic/docs>
23   Linux epoll <../pw_async2_epoll/docs>
24