This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Move path_prefix_p declaration from cygheap.h to path.h


----- Original Message -----
From: "Gary R. Van Sickle" <g.r.vansickle@worldnet.att.net>
To: <cygwin-patches@cygwin.com>
> The reason I may appear to be "hunting around for more work" is simply
that
> I sometimes need a break from build after build of mutt that's wedged
(or
> rather the openjade, sgmltools-lite, etc that it needs at this point).

I have floating around here somewhere a relatively clean openjade
build/patch kit. (Not the horrible hack I've seen referred to
somewhere). It's a mighty big app though 'cause I haven't attempted to
make it link dynamically. If that would be of us to you, let me know and
I'll look at making a diff for you. I can't offer to become an openjade
maintainer at this point though - sorry.

...
> last I heard the docs were all SGML, of which I know less than I do
about
> HTML, of which about all I know is that it shows up in my browser
window

The docs are in docbook, which is a particular SGML DTD. It's really
very very easy (easier than HTML, because there is almost no
presentation related headaches. I know docbook-xml quite well, and that
is a very close cousin to docbook-sgml (in fact the sgml DTD will be
deprecated when the docbook DTD v5.0 comes out soon). So you have a
helping hand here if you change your mind about attemping doco writing.

> > Or, maybe Robert would like some input on his cygwin/daemon code.
...
> I'll keep those in mind too (although it seems to me that Robert's
probably
> got a pretty good handle on what he's doing).

I hope so :}. However the number of reviewers to date is 0. My code is
now pretty divergent from Egor's original daemon, and while the last
plan I heard was to merge in the daemon to HEAD when 1.3.4 goes out the
door, the more reviewers/testers before that happens the less chance
Chris will be on a plane with a club coming to visit me after such a
merge :}.

Also the code is in two distinct chunks:
1) A daemon to run under NT and 9x and provide cross-process services to
cygwin.
2) A security fix which Egor created the original daemon to accomplish
when passing tty handles around, and an IPC- SHM only just now -
implementation using the daemon, which has been used by me to push the
daemon limits...

the daemon currently supports:
a worker thread pool for requests, allowing blocking I/O to be used.
a process cache that tracks win32 process's and caches the process
HANDLE for efficiency, as well as calling a list of registered callbacks
for a process when it terminates. Those callbacks are done via a second
thread pool again, to allow for blocking IO to be used.

In short, while it's not a lot of code (heh, check the patch size :})
it's got plenty of TODO's in the code. It grew with a mind to a goal,
rather than a detailed plan in advance and then code.

Rob


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]