You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
590 B
19 lines
590 B
2 years ago
|
"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SIGRTMAX=exports.getRealtimeSignals=void 0;
|
||
|
const getRealtimeSignals=function(){
|
||
|
const length=SIGRTMAX-SIGRTMIN+1;
|
||
|
return Array.from({length},getRealtimeSignal);
|
||
|
};exports.getRealtimeSignals=getRealtimeSignals;
|
||
|
|
||
|
const getRealtimeSignal=function(value,index){
|
||
|
return{
|
||
|
name:`SIGRT${index+1}`,
|
||
|
number:SIGRTMIN+index,
|
||
|
action:"terminate",
|
||
|
description:"Application-specific signal (realtime)",
|
||
|
standard:"posix"};
|
||
|
|
||
|
};
|
||
|
|
||
|
const SIGRTMIN=34;
|
||
|
const SIGRTMAX=64;exports.SIGRTMAX=SIGRTMAX;
|
||
|
//# sourceMappingURL=realtime.js.map
|