ub_resolve_async: callback thread?

Moritz C. K. U. Schneider moritz_schneider_list at web.de
Thu Mar 24 13:14:52 UTC 2022


Hello!

Am Dienstag, den 08.03.2022, 08:09 -0500 schrieb Felipe Gasper via Unbound-
users:
> Does ub_resolve_async() run its callback on the same thread as
> ub_resolve_async() was called on?

It depends: The callback will be executed on the thread where ub_process
will be called on (explicitly or implicit ia ub_wait). If this is the
same thread as ub_resolve_async was called on, then yes it is on the
same thread.

Hope that helps.


Kind regards
Moritz Schneider



More information about the Unbound-users mailing list