all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>, Helmut Eller <eller.helmut@gmail.com>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: MPS: Area scanners
Date: Mon, 06 May 2024 19:12:08 +0200	[thread overview]
Message-ID: <m2o79ig907.fsf@pro2.fritz.box> (raw)

I remember now why I thought tht scan_bc would work they way I thought,
so that I could compute a suitable scan end and so on. I read in the MPS
docs this:

  type mps_area_scan_t

  Warning: Area scanning functions are subject to the same set of
  restrictions as format scanning functions, described under Cautions.

And Cautions links to a long list containing

  7.3. Cautions

  The MPS guarantees that format methods have exclusive access to the
  object for the duration of the call. This guarantee may entail
  suspending arbitrary threads. The methods that manipulate the object
  must not perform any sort of inter-thread locking or communication.

etc.

Question is of course now, what is with the exclusive access for area
scanning functions? Is that point a member of the "set of restrictions"?

I can't answer that ATM. Maybe someone else can?



             reply	other threads:[~2024-05-06 17:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-06 17:12 Gerd Möllmann [this message]
2024-05-06 18:24 ` MPS: Area scanners Eli Zaretskii
2024-05-06 18:46   ` Gerd Möllmann
2024-05-06 18:28 ` Gerd Möllmann
2024-05-07  5:53   ` Helmut Eller
2024-05-07  6:07     ` Gerd Möllmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2o79ig907.fsf@pro2.fritz.box \
    --to=gerd.moellmann@gmail.com \
    --cc=eliz@gnu.org \
    --cc=eller.helmut@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.