Searched refs:dothread (Results 1 – 5 of 5) sorted by relevance
180 ctx->dothread = 1; /* the processing is in the same process, in ub_ctx_create_event()222 if(ctx->dothread) { in ub_stop_bg()251 if(ctx->created_bg && ctx->dothread) { in ub_ctx_delete()439 ub_ctx_async(struct ub_ctx* ctx, int dothread) in ub_ctx_async() argument442 if(dothread) /* cannot do threading */ in ub_ctx_async()450 ctx->dothread = dothread; in ub_ctx_async()794 if(!ctx->dothread) { /* if forked */ in ub_cancel()1258 ctx->dothread = 1; in ub_ctx_set_event()
416 int ub_ctx_async(struct ub_ctx* ctx, int dothread);
90 int dothread; member
379 if(ctx->dothread) { in libworker_bg()
400 def set_async(self,dothread):409 return _unbound.ub_ctx_async(self,dothread)