mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-14 07:20:35 -08:00
Minor edits.
Copied from Perforce Change: 180128 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
d8474a9f00
commit
21cbfdc212
3 changed files with 12 additions and 9 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
`<https://info.ravenbrook.com/project/mps/master/manual/wiki/pool_classes.html>`_
|
||||
`<https://info.ravenbrook.com/project/mps/master/design/poolawl/>`_
|
||||
|
||||
`<http://info.ravenbrook.com/mail/2003/03/17/13-51-24/0.txt>`_
|
||||
|
||||
.. _pool-awl:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,19 +1,23 @@
|
|||
.. Sources:
|
||||
|
||||
`<https://info.ravenbrook.com/project/mps/master/design/message/>`_
|
||||
`<https://info.ravenbrook.com/mail/2005/04/05/13-33-11/0.txt>`_
|
||||
|
||||
.. _topic-message:
|
||||
|
||||
Messages
|
||||
========
|
||||
|
||||
*Messages* are the mechanism by which the MPS communicates with the
|
||||
:term:`client program`. The MPS normally runs :term:`asynchronously
|
||||
<asynchronous garbage collector>` with respect to the client program,
|
||||
so messages are implemented via a :term:`message queue` attached to
|
||||
each :term:`arena`.
|
||||
The MPS sometimes needs to communicate with the :term:`client program`
|
||||
about events which occur :term:`asynchronously <asynchronous garbage
|
||||
collector>`, and so information cannot be returned as function call
|
||||
results.
|
||||
|
||||
The client program must enable each other message type that they are
|
||||
*Messages* are the mechanism for this asynchronous communication,
|
||||
implemented in the form of a :term:`message queue` attached to each
|
||||
:term:`arena`.
|
||||
|
||||
The client program must enable each message type that they are
|
||||
prepared to handle, by calling :c:func:`mps_message_type_enable`. Then
|
||||
it must poll the message queue at regular intervals when it is
|
||||
convenient to do so, calling :c:func:`mps_message_get` to retrieve
|
||||
|
|
|
|||
|
|
@ -78,8 +78,7 @@ now we can just call it directly from the debugger::
|
|||
$1 = void
|
||||
|
||||
The MPS writes the telemetry to the log in an encoded form for speed.
|
||||
It can be decoded using the :ref:`eventcnv <telemetry-eventcnv>`
|
||||
program::
|
||||
It can be decoded using the :program:`eventcnv` program::
|
||||
|
||||
(gdb) shell eventcnv | sort > mpsio.txt
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue