From 15851468334e797a14a13bdfd1043c82ab02240e Mon Sep 17 00:00:00 2001 From: Manuel Bucher Date: Wed, 22 Jun 2022 09:52:06 +0000 Subject: [PATCH] no bug - Fix indentation of bullet list in ipdl document DONTBUILD Differential Revision: https://phabricator.services.mozilla.com/D149969 --- ipc/docs/ipdl.rst | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ipc/docs/ipdl.rst b/ipc/docs/ipdl.rst index 8f07424fc581..7bced8ec6db5 100644 --- a/ipc/docs/ipdl.rst +++ b/ipc/docs/ipdl.rst @@ -1420,8 +1420,8 @@ option. Background actors can only be used in limited circumstances: * ``PBackground`` only supports the following process connections (where -ordering is parent <-> child): main <-> main, main <-> content, main <-> socket -and socket <-> content. + ordering is parent <-> child): main <-> main, main <-> content, + main <-> socket and socket <-> content. .. important:: @@ -1433,16 +1433,16 @@ and socket <-> content. worker threads. * 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 -dedicated to serving as the worker for parent background actors. While it has -no other functions, it should remain responsive to all connected background -actors. For this reason, it is a bad idea to conduct long operations in parent -background actors. For such cases, create a top level actor and an independent -thread on the parent side instead. + dedicated to serving as the worker for parent background actors. While it + has no other functions, it should remain responsive to all connected + background actors. For this reason, it is a bad idea to conduct long + operations in parent background actors. For such cases, create a top level + actor and an independent thread on the parent side instead. * Background actors are currently *not* reference-counted. IPDL's ownership -has to be carefully respected and the (de-)allocators for the new actors have -to be defined. See `The Old Ways`_ for details. + has to be carefully respected and the (de-)allocators for the new actors have + to be defined. See `The Old Ways`_ for details. A hypothetical layout of ``PBackground`` threads, demonstrating some of the process-type limitations, is shown in the diagram below.