***vijaymarupudi_ is now known as vijaymarupudi
<apteryx>it seems to hang on (primitive-exit 0) in the child; (waitpid child-pid) in the parent hangs <apteryx>nevermind, the waitpid was borked (child-pid would be the current pid). I'm making a very minimal program to see things clearly (and be able to share) <apteryx>scrap the above, primitive-fork *does* return the pid of the child in the parent. eh. <apteryx>are the Guile current file descriptors captured in closures? <vijaymarupudi>The error is that payload is currently a procedure that returns a procedure <apteryx>haha, it's great to have another pair of eyes! Thank you! <apteryx>the test relies on this SIGCHLD signal to wait on the child process to finish, but when redirection is enabled it doesn't fire, it seems ***apteryx_ is now known as apteryx
<vijaymarupudi>Question: how can I associate finalizers to run on gced objects without creating a guardian and a gc hook for each different finalizer procedure? <vijaymarupudi>daviid: Understand how g-golf cleans up gobjects will probably help me answer this question ***chris is now known as Guest2996
***Guest2996 is now known as chrislck
<daviid>vijaymarupudi: as things are, g-golf does not clean gobject instances, you need, to do so, to call unref - see the enref entry in the manual <vijaymarupudi>Ah I see, I wasn't aware of that, so I was leaking memory the whole time? <vijaymarupudi>I think I have an answer to my question, it is more practical to dispatch a cleanup function based on the type of the object, and single guardian can take care of all objects in that case. Dispatching on the type of object can be done using goops.