On Fri, Dec 11, 2009 at 12:20:30PM -0700, Brad Davis wrote: > I did a quick perusal of the source (and compared it against the > NetBSD tree) and it looks like the easiest way to > make getaddrinfo() thread safe is to TURN OFF Yellow Pages (pee). > > NetBSD changes the only "variable" globals to local (in they yp code > by removing the caching optimization) and puts > a mutex in the yp code to protect its global variables. > > I would do the work but I can't test it (I have refused to use YP > for the last 17.5 years). If someone volunteers to > test, I'll rework the code. > > Brad Davis
Sorry, YP has to stay in. -Otto