@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
7 lines • 425 B
TypeScript
/**
* Marks `pid` as the preferred OOM victim on Linux; a no-op elsewhere. Best effort and never throws: the write lands
* just after the spawn, so a process the child forked before it keeps the inherited value, and a child that already
* exited (ENOENT/ESRCH) or a locked-down /proc (EACCES) is left as is.
*/
export declare function preferExecChildAsOomVictim(pid: number): void;
//# sourceMappingURL=oom-score.d.ts.map