From: dhruva <dhruvakm@gmail.com>
To: "Emacs Devel" <emacs-devel@gnu.org>
Subject: QUERY: w32 sub process implementation
Date: Mon, 20 Aug 2007 01:15:40 +0530 [thread overview]
Message-ID: <e3f230850708191245p780ea802o29aa3b4f98d97527@mail.gmail.com> (raw)
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.
-dky
--
Dhruva Krishnamurthy
Contents reflect my personal views only!
next reply other threads:[~2007-08-19 19:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-19 19:45 dhruva [this message]
2007-08-19 21:16 ` QUERY: w32 sub process implementation Jason Rumney
2007-08-20 2:19 ` dhruva
2007-08-20 3:23 ` Eli Zaretskii
2007-08-20 15:16 ` Richard Stallman
2007-08-21 8:41 ` Kim F. Storm
2007-08-21 9:09 ` dhruva
2007-08-21 9:25 ` Jason Rumney
2007-08-21 9:18 ` Jason Rumney
2007-08-21 16:30 ` Davis Herring
2007-08-21 23:24 ` Richard Stallman
2007-08-19 22:39 ` Kim F. Storm
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=e3f230850708191245p780ea802o29aa3b4f98d97527@mail.gmail.com \
--to=dhruvakm@gmail.com \
--cc=emacs-devel@gnu.org \
/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.