astro-ghostcms/.pnpm-store/v3/files/86/fc103c7ae681f44637eb9379aa1...

16 lines
352 B
Plaintext

export const getRealtimeSignals=()=>{
const length=SIGRTMAX-SIGRTMIN+1;
return Array.from({length},getRealtimeSignal)
};
const getRealtimeSignal=(value,index)=>({
name:`SIGRT${index+1}`,
number:SIGRTMIN+index,
action:"terminate",
description:"Application-specific signal (realtime)",
standard:"posix"
});
const SIGRTMIN=34;
export const SIGRTMAX=64;