[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: display question: should ^N and \NNN widths be fixed?

From: Thien-Thi Nguyen
Subject: Re: display question: should ^N and \NNN widths be fixed?
Date: 27 May 2002 02:44:14 -0400

Richard Stallman <address@hidden> writes:

          - consult font text-property          <-- potential race condition?

   This code is all serial; it can't have race conditions.  Why did you
   think there was one?  Perhaps that is a misunderstanding that is worth
   identifying so we can clear it up now.

i know emacs separates the display into its own thread.  the emacs display is
customizable w/ elisp that may eventually lead back to calling current-column.
not knowing the details for text-property access from C, i imagine some lock
that must be manipulated in precise order.  this is because i haven't read
that part of emacs, foolishly trusting my instincts to cover for my ignorance.

in any case, when retooling caching schemes, there is always a possibility of
offloading the task to another thread.  (sometimes i like to think of things
w/ parallel operation in mind, even if not needed immediately -- headed for
that emacs uproc, you know. ;-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]