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; ----------------+-------------------------------------------------
