IRC channel logs
2024-10-03.log
back to list of logs
<mwette>wlroots is looking to be another good test for ffi-helper. I can't compile it yet. <sneek>Welcome back tohoyn, you have 1 message! <sneek>tohoyn, daviid says: (-) there is a <callback> class, see the (g-golf hl-api ccc) module; (-) callback are imported 'on-demand' (meaning as there are effectively being used, not as part of the import of the function/method that defines it as one of its arg(s); (-) but you can 'force' an import: (gi-import-callback (g-irepository-find-by-name "Gtk" "CustomMeasureFunc")) => #<<callback> 7fd47eb1d300>; (-) when imported, the callback <dialup>I am trying to get a web server to run in another thread, and have been mostly successful in that it runs on another thread and I can redefine things as I want, but stopping the server seems to hang on a blocking call of "serve-one-client" until I access the server once. I wanted to ask how to make a server function modeled on the one in (web server) that uses call-with-new-thread instead of the call-with-sigint such that an atomic <dialup>variable change will kill the thread without having to ping the webpage