If you are not redirected automatically, follow this
link to getdns_return_t getdns_context_set_eventloop(getdns_context *context, getdns_eventloop *eventloop)
.