On Aug 15, 2007, at 9:14 AM, Ian Piumarta wrote:
Hi Andreas,
- Concurrent lookups: It appears that the resolver can't be used
concurrently, is this right?
AFAIK the underlying API is not re-entrant. You'll have to serialise concurrent requests inside the image.
Scratch that -- my brain was thinking 'concurrent' at the wrong level.
Yes, we could give back a handle on a particular address info result and use that to keep multiple concurrent retrievals from within the image happy; the client would have to explicitly destroy the handle when done to free up the result. Since this was not the simplest thing that would make OLPC happy, I didn't do it.
Cheers, Ian