Searched refs:snd_ctx (Results 1 – 2 of 2) sorted by relevance
242 struct sender_context *snd_ctx = malloc(sizeof(struct sender_context) + num_fds * sizeof(int)); in group() local243 if (!snd_ctx) in group()246 snd_ctx_tab[gr_num] = snd_ctx; in group()268 snd_ctx->out_fds[i] = fds[1]; in group()275 snd_ctx->ready_out = ready_out; in group()276 snd_ctx->wakefd = wakefd; in group()277 snd_ctx->num_fds = num_fds; in group()280 create_worker(snd_ctx, (void *)(void *)sender); in group()286 close(snd_ctx->out_fds[i]); in group()
269 struct sender_context* snd_ctx = malloc (sizeof(struct sender_context) in group() local291 snd_ctx->out_fds[i] = fds[1]; in group()298 snd_ctx->ready_out = ready_out; in group()299 snd_ctx->wakefd = wakefd; in group()300 snd_ctx->num_fds = num_fds; in group()302 pth[num_fds+i] = create_worker(snd_ctx, (void *)(void *)sender); in group()308 close(snd_ctx->out_fds[i]); in group()