[getdns-api] getdns_return_t for destroy methods

Paul Hoffman paul.hoffman at vpnc.org
Sat Mar 8 10:18:21 MST 2014

On Mar 8, 2014, at 3:05 PM, Goyal, Neel <ngoyal at verisign.com> wrote:

> The major area of concern is when destroying a context in a callback - there are a lot of edge cases and re-entrant scenarios that make this code a bit hairier than it needs to be.  A return code would allow implementations to enforce that contexts can't be destroyed in the callbacks they are firing and communicate that back to the user.

I'm still not seeing it. If you have a destroyer, in what circumstance would it not come back with "I've destroyed it"?

--Paul Hoffman

More information about the getdns-api mailing list