Help for this page

Select Code to Download


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