On 4 Dec 2002 at 15:47, Christopher Faylor wrote: > >please use strtok_r(). It helps to avoid clashes with the application > >using strtok() as well.
Righto. Not a problem. > It's not a simple job by any means but maybe the code in perthread.h > will provide a clue. It doesn't look outrageously hard. As I understand it, I should: - 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 - use the global instance, with its get and create methods, in netdb.cc instead of the static varibles. Have I missed something? ----------------+------------------------------------------------- Craig McGeachie | #include <cheesy_tag.h> +64(21)037-6917 | while (!inebriated) c2h5oh=(++bottle)->contents; ----------------+-------------------------------------------------
