Searched refs:dothread (Results 1 – 4 of 4) sorted by relevance
204 ctx->dothread = 1; /* the processing is in the same process, in ub_ctx_create_ub_event()218 ctx->dothread = 1; /* the processing is in the same process, in ub_ctx_create_event()265 if(ctx->dothread) { in ub_stop_bg()294 if(ctx->created_bg && ctx->dothread) { in ub_ctx_delete()487 ub_ctx_async(struct ub_ctx* ctx, int dothread) in ub_ctx_async() argument490 if(dothread) /* cannot do threading */ in ub_ctx_async()498 ctx->dothread = dothread; in ub_ctx_async()845 if(!ctx->dothread) { /* if forked */ in ub_cancel()1405 ctx->dothread = 1; in ub_ctx_set_event()
94 int dothread; member
455 int ub_ctx_async(struct ub_ctx* ctx, int dothread);
380 if(ctx->dothread) { in libworker_bg()