[823] in Pthreads mailing list archive

home help back first fref pref prev next nref lref last post

pthreads and dns

daemon@ATHENA.MIT.EDU (Anton Opperman)
Wed Apr 28 11:25:05 1999

Date: Wed, 28 Apr 1999 16:46:32 +0200
From: Anton Opperman <aopperma@fgh.co.za>
To: pthreads@MIT.EDU

Hi Chris,

  I'm not quite sure about the exact status of the pthread project, but I'm
  playing around with 1.60 beta6 (seemed like the latest version).

  I'm trying to build a cache of dns entries for a performance related
  tool I'm writing, and use gethostbyname/_r to get the required entries.
  In my current config, I use a netsvc.conf file to force local lookup
  first, some entries are not in the dns ... If I use the OS gethostbyname,
  this works fine, but the functions are not thread safe. If however I use
  the pthread version, it doesn't look at local entries at all.

  Will this change in future? Is anything still happening with pthreads,
  seems like quite some time since anything changed? Is there a newer
  version?

Thx,
  Anton Opperman
  aopperman@fgh.co.za

home help back first fref pref prev next nref lref last post