IRC channel logs
2024-04-02.log
back to list of logs
<ArneBab>daviid: so why are there texinfo modules left in guile-lib? For backwards compat for guile 1.8? <freakingpenguin>Best summary I've come up with is an "Org-mode-esque implementation of source blocks in Guile Scheme". Seems to work well with haunt so far. <cbaines>I don't get it, system* seems to break signal handling <cbaines>setting up a handler for SIGINT seems to do nothing when you run system* once in another thread <civodul>cbaines: you mean the child process doesn’t receive SIGINIT? <cbaines>nope, the parent process receives it, but the handler doesn't run <civodul>cbaines: signals are terrible, and signals in Guile are worse <civodul>if asyncs don’t get a chance to run, your signal handler isn’t called <civodul>so for example, if you block on waitpid(2), then the Scheme-level signal handler is never called <civodul>(or read(2) or any blocking syscall) <cbaines>I checked with strace and something was happening, and I had the relevant thread sleep and wakeup repeatedly as I was wondering whether the handler just hadn't got a chance to run <cbaines>but the only thing that seemed to help was removing the use of system* <cbaines>sending SIGINT doesn't seem to do anything, but that changes if you comment out the system* call <civodul>cbaines: i can reproduce the bug here; could you send it to bug-guile? <civodul>i tested with Guile 48548df91e9eb5d4a46391da0ad0a8cdd3387857