I have a loop that executes a prg and then waits for the user to input
something. If the user does not input anything within the timeout, the
waiting is aborted and the loop restarts.
The problem is that, I want the timeout to be much faster, but 'abort only
works in seconds. Is there a way to abor
I would use Linux.epoll. pil doesn't have it... yrt.
On Mon, Apr 24, 2023, 06:10 polifemo wrote:
> I have a loop that executes a prg and then waits for the user to input
> something. If the user does not input anything within the timeout, the
> waiting is aborted and the loop restarts.
> The
Hi polifemo,
> I have a loop that executes a prg and then waits for the user to input
> something. If the user does not input anything within the timeout, the
> waiting is aborted and the loop restarts.
> The problem is that, I want the timeout to be much faster, but 'abort only
> works in seconds
On Mon, Apr 24, 2023 at 06:45:06AM +0200, Danilo Kordic wrote:
> I would use Linux.epoll. pil doesn't have it... yrt.
PicoLisp has 'poll', which uses poll(2) or ppoll(2) internally.
☺/ A!ex
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe