Lines Matching refs:ctx
77 struct thread_ctx ctx; in uv__thread_start() local
80 ctx = *ctx_p; in uv__thread_start()
84 uv_key_set(&uv__current_thread_key, ctx.self); in uv__thread_start()
86 ctx.entry(ctx.arg); in uv__thread_start()
102 struct thread_ctx* ctx; in uv_thread_create_ex() local
122 ctx = uv__malloc(sizeof(*ctx)); in uv_thread_create_ex()
123 if (ctx == NULL) in uv_thread_create_ex()
126 ctx->entry = entry; in uv_thread_create_ex()
127 ctx->arg = arg; in uv_thread_create_ex()
134 ctx, in uv_thread_create_ex()
139 uv__free(ctx); in uv_thread_create_ex()
143 ctx->self = thread; in uv_thread_create_ex()