Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/unbound/dist/libunbound/
H A Dlibunbound.c222 ctx->dothread = 1; /* the processing is in the same process, in ub_ctx_create_ub_event()
236 ctx->dothread = 1; /* the processing is in the same process, in ub_ctx_create_event()
283 if(ctx->dothread) { in ub_stop_bg()
332 if(ctx->created_bg && ctx->dothread && do_stop) { in ub_ctx_delete()
544 ub_ctx_async(struct ub_ctx* ctx, int dothread) in ub_ctx_async() argument
547 if(dothread) /* cannot do threading */ in ub_ctx_async()
555 ctx->dothread = dothread; in ub_ctx_async()
902 if(!ctx->dothread) { /* if forked */ in ub_cancel()
1462 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.c395 if(ctx->dothread) { in libworker_bg()
/netbsd-src/external/bsd/unbound/dist/libunbound/python/
H A Dlibunbound.i418 def set_async(self,dothread):
427 return _unbound.ub_ctx_async(self,dothread)