|
From: | Daniel Diaz |
Subject: | Re: can gprolog set a signal handler? |
Date: | Mon, 19 Sep 2022 11:17:06 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
I am aware that gprolog has the predicate send_signal/2. But is there any mechanism to set a signal handler predicate if your gprolog program receives a signal?
Hi,
there is no way to do this in gprolog (hard to do this in a portable way bu I suppose you can do this in C via the C interface for a specific need).
Daniel
[Prev in Thread] | Current Thread | [Next in Thread] |