no bug - Fix indentation of bullet list in ipdl document DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D149969
This commit is contained in:
Manuel Bucher 2022-06-22 09:52:06 +00:00
parent b122b6d13d
commit 1585146833

View File

@ -1420,8 +1420,8 @@ option.
Background actors can only be used in limited circumstances: Background actors can only be used in limited circumstances:
* ``PBackground`` only supports the following process connections (where * ``PBackground`` only supports the following process connections (where
ordering is parent <-> child): main <-> main, main <-> content, main <-> socket ordering is parent <-> child): main <-> main, main <-> content,
and socket <-> content. main <-> socket and socket <-> content.
.. important:: .. important::
@ -1433,16 +1433,16 @@ and socket <-> content.
worker threads. worker threads.
* Background actor creation is always initiated by the child. Of course, a * Background actor creation is always initiated by the child. Of course, a
request to create one can be sent to the child by any other means. request to create one can be sent to the child by any other means.
* All parent background actors run in the same thread. This thread is * All parent background actors run in the same thread. This thread is
dedicated to serving as the worker for parent background actors. While it has dedicated to serving as the worker for parent background actors. While it
no other functions, it should remain responsive to all connected background has no other functions, it should remain responsive to all connected
actors. For this reason, it is a bad idea to conduct long operations in parent background actors. For this reason, it is a bad idea to conduct long
background actors. For such cases, create a top level actor and an independent operations in parent background actors. For such cases, create a top level
thread on the parent side instead. actor and an independent thread on the parent side instead.
* Background actors are currently *not* reference-counted. IPDL's ownership * Background actors are currently *not* reference-counted. IPDL's ownership
has to be carefully respected and the (de-)allocators for the new actors have has to be carefully respected and the (de-)allocators for the new actors have
to be defined. See `The Old Ways`_ for details. to be defined. See `The Old Ways`_ for details.
A hypothetical layout of ``PBackground`` threads, demonstrating some of the A hypothetical layout of ``PBackground`` threads, demonstrating some of the
process-type limitations, is shown in the diagram below. process-type limitations, is shown in the diagram below.