Searched refs:dothread (Results 1 - 4 of 4) sorted by relevance

/freebsd-13-stable/contrib/unbound/libunbound/
H A Dcontext.h77 /** mutex for access to env.cfg, finalized and dothread */
94 int dothread; member in struct:ub_ctx
H A Dlibunbound.c219 ctx->dothread = 1; /* the processing is in the same process,
233 ctx->dothread = 1; /* the processing is in the same process,
280 if(ctx->dothread) {
309 if(ctx->created_bg && ctx->dothread) {
503 ub_ctx_async(struct ub_ctx* ctx, int dothread) argument
506 if(dothread) /* cannot do threading */
514 ctx->dothread = dothread;
861 if(!ctx->dothread) { /* if forked */
1421 ctx->dothread
[all...]
H A Dunbound.h448 * @param dothread: if true, enables threading and a call to resolve_async()
455 int ub_ctx_async(struct ub_ctx* ctx, int dothread);
H A Dlibworker.c391 if(ctx->dothread) {

Completed in 182 milliseconds