pike.git / src / modules / _Stdio / sendfile.c

version» Context lines:

pike.git/src/modules/_Stdio/sendfile.c:1152:    /* The worker will have a ref. */    th_farm(worker, THIS);   #if 0    {    /* Failure */    sf.to->flags &= ~FILE_LOCK_FD;    if (sf.from) {    sf.from->flags &= ~FILE_LOCK_FD;    }    free_object(THIS->self); -  resource_error("Stdio.sendfile", sp, 0, "threads", 1, -  "Failed to create thread.\n"); +  Pike_error("Failed to create thread.\n");    }   #endif /* 0 */    }    return;   }      /*! @endclass    */      #endif /* _REENTRANT */