Home
last modified time | relevance | path

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

/freebsd/contrib/unbound/libunbound/
H A Dlibunbound.c229 ctx->dothread = 1; /* the processing is in the same process, in ub_ctx_create_ub_event()
243 ctx->dothread = 1; /* the processing is in the same process, in ub_ctx_create_event()
290 if(ctx->dothread) { in ub_stop_bg()
339 if(ctx->created_bg && ctx->dothread && do_stop) { in ub_ctx_delete()
555 ub_ctx_async(struct ub_ctx* ctx, int dothread) in ub_ctx_async() argument
558 if(dothread) /* cannot do threading */ in ub_ctx_async()
566 ctx->dothread = dothread; in ub_ctx_async()
913 if(!ctx->dothread) { /* if forked */ in ub_cancel()
1476 ctx->dothread = 1; in ub_ctx_set_event()
H A Dcontext.h100 int dothread; member
H A Dunbound.h484 int ub_ctx_async(struct ub_ctx* ctx, int dothread);
H A Dlibworker.c381 if(ctx->dothread) { in libworker_bg()