From: Richard Stallman <rms@gnu.org>
Cc: cyd@stupidchicken.com, emacs-devel@gnu.org, raman@users.sourceforge.net
Subject: Re: Did something change with respect to Emacs idle loop:
Date: Sat, 23 Sep 2006 22:10:16 -0400 [thread overview]
Message-ID: <E1GRJRg-0006zm-LU@fencepost.gnu.org> (raw)
In-Reply-To: <17685.29992.39140.92797@gargle.gargle.HOWL> (raman@users.sf.net)
You'll actually see this when mplayer is playing something off of
the local disk while emacs is waiting on an nfs disk
Are you saying that the problem ONLY happens when Emacs is waiting for
nfs? I think that's what you're saying, but I'm not 100% sure,
and I'd like to make sure there is no misunderstanding.
If that's the situation, I can guess what the problem might be.
Years ago there were uninterruptible waits in NFS code (I am not sure
which systems this applied to). That is, a user program (such as
Emacs) would do a system call to use NFS, and that system call would
wait, and it could not be interrupted until the wait finished. No
signals could be delivered.
If mplayer is trying to output regularly thru a pty to Emacs, Emacs
ought to detect the input and read it every so often. But Emacs can't
do that if it is in an uninterruptible wait. So the output buffer
would get full, and then mplayer would hang.
It would be the same if Emacs is computing without waiting for a long
time, since Emacs does not read process output while it is computing.
In that case you could fix the problem by calling
accept-process-output from time to time. But if NFS causes an
uninterruptible wait, there is nothing Emacs can do about it.
next prev parent reply other threads:[~2006-09-24 2:10 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-21 3:20 Did something change with respect to Emacs idle loop: T. V. Raman
2006-09-21 3:47 ` T. V. Raman
2006-09-21 13:58 ` Romain Francoise
2006-09-22 1:11 ` T. V. Raman
2006-09-22 18:08 ` Romain Francoise
2006-09-22 4:11 ` Richard Stallman
2006-09-22 19:21 ` Chong Yidong
2006-09-23 17:55 ` T. V. Raman
2006-09-24 2:10 ` Richard Stallman [this message]
2006-09-24 15:49 ` joakim
2006-09-24 18:00 ` T. V. Raman
2006-09-25 3:17 ` Richard Stallman
2006-09-24 17:58 ` T. V. Raman
2006-09-25 20:48 ` Richard Stallman
2006-09-27 13:08 ` T. V. Raman
2006-09-28 2:14 ` Richard Stallman
2006-09-23 18:01 ` Richard Stallman
2006-09-26 17:49 ` Andreas Seltenreich
2006-09-27 13:09 ` T. V. Raman
2006-09-27 17:53 ` Andreas Seltenreich
2006-09-28 3:46 ` T. V. Raman
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=E1GRJRg-0006zm-LU@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=raman@users.sourceforge.net \
/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.