can gprolog set a signal handler?

<[email protected]> Fri, 16 Sep 2022 18:01:18 +0000
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <CY5PR10MB623893F30E0A795F26086899D4489@CY5PR10MB6238.namprd10.prod.outlook.com>
--_000_CY5PR10MB623893F30E0A795F26086899D4489CY5PR10MB6238namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am aware that gprolog has the predicate send_signal/2. But is there any m=
echanism to set a signal handler predicate if your gprolog program receives=
 a signal?

--_000_CY5PR10MB623893F30E0A795F26086899D4489CY5PR10MB6238namp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0);" class=3D"elementToProof">
I am aware that gprolog has the predicate send_signal/2. But is there any m=
echanism to set a signal handler predicate if your gprolog program receives=
 a signal?</div>
</body>
</html>

--_000_CY5PR10MB623893F30E0A795F26086899D4489CY5PR10MB6238namp_--