Nicholas Clark wrote: > Hmm. Maybe I'm missing something here. (I don't know much about threads) > perl rapidly copies the data returned by gethostbyname into SVs > If threaded perl had a gethostbyname mutex so that only one thread at > a time could get into the area referencing the call to gethostbyname() > and the returned (possibly static) structure, would this solve the > problem (at least within perl, provided extengethostbynamesions don't call gethostbyname) Rapidly? What happens if gethostbyname needs a NIS lookup? Or an LDAP lookup? Or a DNS lookup? What happens if I call a third party library that does name lookup as well? Simple answer - No. Alan BurlisonThread Previous | Thread Next