recv_thrctx
ctx_arr = calloc(nthr, sizeof(struct recv_thrctx));
struct recv_thrctx *ctx = &ctx_arr[i];
struct recv_thrctx *ctx = xctx;
struct recv_thrctx *ctx_arr;