This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: PATCH: Implementation of functions in netdb.h
- From: "Craig McGeachie" <slapdau at yahoo dot com dot au>
- To: cygwin-patches at cygwin dot com
- Date: Thu, 05 Dec 2002 23:30:00 +1300
- Subject: Re: PATCH: Implementation of functions in netdb.h
- References: <20021204204751.GA5562@redhat.com>
- Reply-to: cygwin-patches at cygwin dot com
On 5 Dec 2002 at 23:22, Craig McGeachie wrote:
> - declare a subclass of per_thread into perthread.h for
> whatever data netdb.cc uses.
> - declare a single global instance of this subclass in perthread.h
> - define the global instance in dcrt0.cc
> - add it to threadstuff in dcrt0.cc
Actually, messing about with dcrt0.cc and perthread.h makes me a little
uncomfortable. The per_thread objects only seem to need to be in there
if fork.cc needs to check for clear_on_fork. Could I just put
everything into netdb.cc?
----------------+-------------------------------------------------
Craig McGeachie | #include <cheesy_tag.h>
+64(21)037-6917 | while (!inebriated) c2h5oh=(++bottle)->contents;
----------------+-------------------------------------------------