all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
Cc: lekktu@gmail.com, eliz@gnu.org, emacs-devel@gnu.org,
	cyd@stupidchicken.com, "Kim F. Storm" <storm@cua.dk>
Subject: Re: How about a new pretest?
Date: Thu, 21 Dec 2006 10:47:31 +0000	[thread overview]
Message-ID: <458A6643.4090500@gnu.org> (raw)
In-Reply-To: <E1Gx14g-0000VF-7x@fencepost.gnu.org>

Richard Stallman wrote:
> I think we should try to fix these two problems now.  The first one
> should be easy.
>   
> ** make-network-process :nowait t doesn't work for non-local targets
>    on Windows.
>   
I have looked at this several times myself in the past, and others have 
looked since and made some more progress, but it isn't as simple as it 
should be.
The problem starts with the fact that the native select() on Windows 
only works for network sockets. But Emacs uses select() for subprocess 
I/O, so a long time ago, back when Emacs used an external program for 
network sockets, someone wrote a replacement for select() on w32 to 
handle subprocess I/O (and only subprocess I/O). Network socket support 
had to be added back in to this, then more recently :nowait support was 
added. The resulting code is difficult to understand and debug, and I'm 
sure if it was written from scratch to include non-blocking support for 
sockets, the code would look very different than it does today.

>    If it cannot be fixed, (featurep 'make-network-process '(:nowait t))
>    should return nil.
>   
I think this is probably the right solution for this release, unless 
someone who has the time and has not already tried to understand the 
code wants to try to fix it now.
Otherwise we could look at rewriting the select implementation from 
scratch after the release.

  reply	other threads:[~2006-12-21 10:47 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-18 17:02 How about a new pretest? Juanma Barranquero
2006-12-18 17:54 ` Chong Yidong
2006-12-18 19:38   ` Nick Roberts
2006-12-18 20:38     ` Eli Zaretskii
2006-12-19  0:46     ` Juanma Barranquero
2006-12-18 20:13   ` Eli Zaretskii
2006-12-19 10:13     ` Kim F. Storm
2006-12-19 15:41       ` Kim F. Storm
2006-12-19 20:30         ` Chong Yidong
2006-12-19 22:37           ` Lennart Borgman
2006-12-19 22:40           ` Juanma Barranquero
2006-12-20 15:04           ` David Kastrup
2006-12-20 15:23             ` Juanma Barranquero
2006-12-20 13:01       ` Richard Stallman
2006-12-21 10:47         ` Jason Rumney [this message]
2006-12-21 13:41           ` Kim F. Storm
2006-12-21 23:18             ` Richard Stallman
2006-12-22  0:34               ` Kim F. Storm
2006-12-22 21:52                 ` Stefan Monnier
2006-12-23 20:13                 ` Richard Stallman
2006-12-25 13:30                   ` Kim F. Storm
2006-12-23 20:13                 ` Richard Stallman
2006-12-23 20:42                   ` Lennart Borgman
2006-12-24 17:09                     ` Richard Stallman
2006-12-24 17:22                       ` Lennart Borgman
2006-12-21 23:18           ` 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

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

  git send-email \
    --in-reply-to=458A6643.4090500@gnu.org \
    --to=jasonr@gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    --cc=storm@cua.dk \
    /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.