users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can gprolog set a signal handler?


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

Le 9/16/22 à 20:01, ac.russell@live.com a écrit :
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]