nmctx_pthread
static struct nmctx_pthread nmctx_pthreadsafe;
struct nmctx_pthread *ctxp =
(struct nmctx_pthread *)ctx;