Re: gethostbyname under 10.2
Re: gethostbyname under 10.2
- Subject: Re: gethostbyname under 10.2
- From: Vincent Lubet <email@hidden>
- Date: Wed, 28 Aug 2002 12:01:37 -0700
On Wednesday, August 28, 2002, at 11:18 AM, John Wroclawski wrote:
In 10.2, each thread got its own hostent buffer.
So code that treats gethostbyx results as global, accessing them from
multiple threads with the resource protected by a locking mechanism,
will break?
No it won't break, it's just superfluous to take a lock.
Vincent
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.