Daemon reviewer

Gary R. Van Sickle g.r.vansickle@worldnet.att.net
Mon Jan 28 22:56:00 GMT 2002

> -----Original Message-----
> From: cygwin-developers-owner@cygwin.com
> [mailto:cygwin-developers-owner@cygwin.com]On Behalf Of Robert Collins
> Sent: Saturday, January 26, 2002 8:50 PM
> To: cygwin-developers@cygwin.com
> Subject: Daemon reviewer
> Importance: High
> Gary, will you have to time make some sort of comment on the code/design
> quality in the next (say) fortnight?
> If not, please say so.

Code quality: Excellent.  I'd wager it'd come in dead-last in an obfuscated Perl
contest ;-).  I'm seeing a lot of FIXME's, but as you indicate none are perfect,
and it's optional for now anyway (and at least they're well-commented FIXMEs

Design quality: After taking a look, I think I'm gonna have to recuse myself,
sorry.  I'm just not anywhere near familiar enough with cygwin1.dll's internals
to be able to make any sort of meaningful judgement on what I'm looking at in
but a fortnight.  I've been looking only at cygserver to date though;  I'll diff
the DLL code and see if I can make out anything there that might look like a
problem for the non-daemon case.

As for the soundness of the design in the most general of terms (i.e. your
list), FWIW I think a Cygwin 'Uberprocess' would probably make some things much
more straightforward, e.g. the "rm-queue" could be put in there and then never
cause a process to block.

I'm doing my level best as I type this to build the latest cygwin_daemon branch,
as I have been on and off for about a week or so now since you last updated it
(you know how it is with us CVS-challenged ;-))... and it just failed again for
the bajillionth time, great.[1]  Well, I'll get it built before the Rapture (I
hope), and once I do I'll use it exclusively here and at work, give it the
onceover twice with the daemon, and then lean on it without the daemon (but with
the daemonized DLL) until such time as:

- It becomes part of the regular distro.
- You drop it and nobody else picks it up.
- Problems reveal themselves.
- Injury or illness precludes me from carrying out my duties as tribal warlord.

[1] Could you maybe just email me the fricken binaries and/or put them up
somewhere so I don't have to hit the Cygwin CVS server another few hundred times
before I get slot A to fit into tab B here?  I'm just not getting the
cygwin_daemon branch to build now no matter what I do.  If it ain't a "multiple
definition of `tzset'" its a dozen other damn things....

Gary R. Van Sickle
Brewer.  Patriot.

More information about the Cygwin-developers mailing list