[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: QUERY: w32 sub process implementation
From: |
Kim F. Storm |
Subject: |
Re: QUERY: w32 sub process implementation |
Date: |
Mon, 20 Aug 2007 00:39:22 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
dhruva <address@hidden> writes:
> Hi,
> In the win32 specific implementation, Emacs creates processes in a
> thread. Every sub process of has a corresponding thread in emacs. The
> thread entry function is reader_thread which reads a char or accepts a
> connection and waits till the char is read by the main emacs
> thread/read-eval-print loop.
> Using ASYNC read and registering callbacks in wait, I feel we can
> completely do away with threads for sub procs. I would like to have
> your views before I start making large changes (in my local copy). If
> this is not an area of concern, I could concentrate on other portions.
I have had the same idea myself, but didn't pursue it due to the "imminent"
release of 22.1.
It would make the w32 sys_select work much more like the "standard"
select - and at the same time make it handle the write mask (to get
rid of the BROKEN_NON_BLOCKING_CONNECT define in ms-w32.h).
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: QUERY: w32 sub process implementation, (continued)
- Re: QUERY: w32 sub process implementation, Jason Rumney, 2007/08/19
- Re: QUERY: w32 sub process implementation, dhruva, 2007/08/19
- Re: QUERY: w32 sub process implementation, Richard Stallman, 2007/08/20
- Re: QUERY: w32 sub process implementation, Jason Rumney, 2007/08/21
- Re: QUERY: w32 sub process implementation, Davis Herring, 2007/08/21
- Re: QUERY: w32 sub process implementation, Richard Stallman, 2007/08/21
Re: QUERY: w32 sub process implementation,
Kim F. Storm <=