forked from mirrors/gecko-dev
no bug - Fix indentation of bullet list in ipdl document DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D149969
This commit is contained in:
parent
b122b6d13d
commit
1585146833
1 changed files with 10 additions and 10 deletions
|
|
@ -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::
|
||||||
|
|
||||||
|
|
@ -1435,11 +1435,11 @@ and socket <-> content.
|
||||||
* 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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue