- or download this
# perl thread
(gdb) p my_perl
...
dSP;
(gdb) p my_perl
$3 = (PerlInterpreter *) 0x0
- or download this
pthread_t thread;
if (pthread_create(&thread, NULL, core_thread, mpctx) != 0) {
...
mp_destroy(mpctx);
return NULL;
}
- or download this
static void *core_thread(void *p)
{
...
return NULL;
}
- or download this
if (ctx->wakeup_cb)
ctx->wakeup_cb(ctx->wakeup_cb_ctx);