From: Richard Stallman <rms@gnu.org>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: piet@cs.uu.nl, emacs-devel@gnu.org
Subject: Re: Pretest?
Date: Fri, 16 Mar 2007 01:20:27 -0400 [thread overview]
Message-ID: <E1HS4rb-0003Uf-NJ@fencepost.gnu.org> (raw)
In-Reply-To: <wlwt1ionp9.wl%mituharu@math.s.chiba-u.ac.jp> (message from YAMAMOTO Mitsuharu on Thu, 15 Mar 2007 18:33:54 +0900)
1. I think BLOCK_INPUT is not necessary when `noninteractive' is
set. Is that correct?
I think so, because Emacs does not use signals for keyboard input
in batch mode.
However, I am not sure whether handling of other signals (such as SIGCHLD)
calls for BLOCK_INPUT nowadays. If it does, then BLOCK_INPUT should be
needed also in batch mode, because subprocess can be used.
So you may as well do BLOCK_INPUT for getc, etc.
2. getaddrinfo/freeaddrinfo are called with immediate_quit == 1. We
have to choose from either protecting them with BLOCK_INPUT or
allowing quit during their executions, especially on the systems
where SYSTEM_MALLOC is defined and thus emacs_blocked_malloc
etc. cannot be used.
I am not familiar with getaddrinfo. Why do users want to be
able to interrupt it? Is that because it communicates with
a DNS server?
The only way I can think of to make this work right
is to run it in another thread, or use child labor.
next prev parent reply other threads:[~2007-03-16 5:20 UTC|newest]
Thread overview: 91+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-23 9:30 Pretest? Juanma Barranquero
2007-02-23 18:06 ` Pretest? Eli Zaretskii
2007-02-23 18:48 ` Pretest? Chong Yidong
2007-02-23 19:36 ` Pretest? Eli Zaretskii
2007-02-24 15:40 ` Pretest? Chong Yidong
2007-02-24 19:07 ` Pretest? Eli Zaretskii
2007-02-25 4:05 ` Pretest? Richard Stallman
2007-02-25 19:33 ` Pretest? Chong Yidong
2007-03-01 23:38 ` Pretest? Chong Yidong
2007-03-02 1:12 ` Pretest? Lennart Borgman (gmail)
2007-03-02 2:01 ` Pretest? Juanma Barranquero
2007-03-02 8:20 ` Pretest? David Kastrup
2007-03-02 9:23 ` Pretest? Juanma Barranquero
2007-03-03 11:40 ` Pretest? Eli Zaretskii
2007-03-04 0:28 ` Pretest? Giorgos Keramidas
2007-03-04 20:25 ` Pretest? Chong Yidong
2007-03-04 20:32 ` Pretest? Giorgos Keramidas
2007-03-04 20:38 ` Pretest? David Kastrup
2007-03-04 20:47 ` Pretest? Giorgos Keramidas
2007-03-05 7:15 ` Pretest? Jan Djärv
2007-03-15 10:39 ` Pretest? YAMAMOTO Mitsuharu
2007-03-15 11:04 ` Pretest? Jan Djärv
2007-03-15 12:08 ` Pretest? YAMAMOTO Mitsuharu
2007-03-16 7:52 ` Pretest? Jan Djärv
2007-03-19 8:00 ` Pretest? Jan Djärv
2007-03-19 9:31 ` Pretest? YAMAMOTO Mitsuharu
2007-03-19 21:16 ` Pretest? Giorgos Keramidas
2007-03-20 7:33 ` Pretest? Jan Djärv
2007-03-27 8:07 ` Pretest? Jan Djärv
2007-03-28 8:24 ` Pretest? YAMAMOTO Mitsuharu
2007-03-05 7:13 ` Pretest? Jan Djärv
2007-03-06 9:38 ` Pretest? Piet van Oostrum
2007-03-07 1:03 ` Pretest? Richard Stallman
2007-03-14 7:21 ` Pretest? Piet van Oostrum
2007-03-15 0:39 ` Pretest? YAMAMOTO Mitsuharu
2007-03-15 5:31 ` Pretest? Richard Stallman
2007-03-15 9:33 ` Pretest? YAMAMOTO Mitsuharu
2007-03-16 5:20 ` Richard Stallman [this message]
2007-03-19 9:53 ` Pretest? YAMAMOTO Mitsuharu
2007-03-19 10:05 ` Pretest? Kim F. Storm
2007-03-19 21:57 ` Pretest? Richard Stallman
2007-03-20 9:18 ` Pretest? YAMAMOTO Mitsuharu
2007-03-15 1:38 ` Pretest? Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2007-02-23 18:15 cygwin succesfull straight build Eli Zaretskii
2007-03-07 1:26 ` Pretest? Angelo Graziosi
2007-03-08 19:40 ` Pretest? Chong Yidong
2007-03-09 13:59 ` Pretest? Giorgos Keramidas
2007-03-09 14:44 ` Pretest? Chong Yidong
2007-03-09 17:07 ` Pretest? Christian Faulhammer
2007-03-09 17:35 ` Pretest? Juanma Barranquero
2007-03-09 18:33 ` Pretest? Chong Yidong
2007-03-09 17:49 ` Pretest? Eli Zaretskii
2007-03-09 18:07 ` Pretest? Giorgos Keramidas
2007-03-09 21:26 ` Pretest? Richard Stallman
2007-03-12 10:39 ` Pretest? Juanma Barranquero
2007-03-12 10:42 ` Pretest? David Kastrup
2007-03-12 11:46 ` Pretest? Juanma Barranquero
2007-03-12 14:53 ` Pretest? Stefan Monnier
2007-03-12 15:46 ` Pretest? Juanma Barranquero
2007-03-12 15:53 ` Pretest? David Kastrup
2007-03-12 20:55 ` Pretest? Chong Yidong
2007-03-12 21:32 ` Pretest? Juanma Barranquero
2007-03-13 1:03 ` Pretest? Chong Yidong
2007-03-13 9:37 ` Pretest? Juanma Barranquero
2007-03-13 2:43 ` Pretest? Richard Stallman
2007-03-13 9:43 ` Pretest? Juanma Barranquero
2007-03-13 9:52 ` Pretest? Andreas Schwab
2007-03-13 10:09 ` Pretest? David Kastrup
2007-03-13 10:23 ` Pretest? Juanma Barranquero
2007-03-19 5:15 ` Pretest? Richard Stallman
2007-03-14 3:24 ` Pretest? Richard Stallman
2007-03-14 7:10 ` Pretest? David Kastrup
2007-03-14 13:39 ` Pretest? Stefan Monnier
2007-03-14 14:04 ` Pretest? David Kastrup
2007-03-14 14:19 ` Pretest? Stefan Monnier
2007-03-14 9:18 ` Pretest? Juanma Barranquero
2007-03-14 9:32 ` Pretest? David Kastrup
2007-03-14 9:44 ` Pretest? Juanma Barranquero
2007-03-14 10:07 ` Pretest? David Kastrup
2007-03-14 10:17 ` Pretest? Juanma Barranquero
2007-03-14 13:56 ` Pretest? Chong Yidong
2007-03-14 14:24 ` Pretest? Stefan Monnier
2007-03-15 1:38 ` Pretest? Richard Stallman
2007-03-15 10:04 ` Pretest? Juanma Barranquero
2007-03-16 5:20 ` Pretest? Richard Stallman
2007-03-15 15:44 ` Pretest? Chong Yidong
2007-03-16 5:21 ` Pretest? Richard Stallman
2007-03-16 7:36 ` Pretest? David Kastrup
2007-02-26 2:39 Pretest? Nick Roberts
2007-02-26 7:19 ` Pretest? David Kastrup
2007-02-26 9:07 ` Pretest? Nick Roberts
2007-02-26 8:47 ` Pretest? Richard Stallman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1HS4rb-0003Uf-NJ@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=mituharu@math.s.chiba-u.ac.jp \
--cc=piet@cs.uu.nl \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).