Re: Question about handling SIGINT properly in Guile

2024-04-13 Thread Vijay Marupudi
> So there is two things with signals. First, when a process get a signal > queued, the OS only deliver the signal -- at least on linux -- when > going back to user-space. Typically, before the process get > re-scheduled or after a system call. So sending a signal is not > immediate. Furthermor

Re: Question about handling SIGINT properly in Guile

2024-04-13 Thread Olivier Dion
On Sat, 13 Apr 2024, Vijay Marupudi wrote: > Hello folk of guile-user, > > I am trying to create a simple Guile program that continues to perform a > task until an interrupt signal is sent. However, I am unable to > deterministically end the program when SIGINT is sent, as the > interrupt handler

Question about handling SIGINT properly in Guile

2024-04-13 Thread Vijay Marupudi
Hello folk of guile-user, I am trying to create a simple Guile program that continues to perform a task until an interrupt signal is sent. However, I am unable to deterministically end the program when SIGINT is sent, as the interrupt handler does not run soon after the call to (sleep ...) ends.