GNU bug report logs - #24695
impossible to use weak hash tables inside gc hooks

Previous Next

Package: guile;

Reported by: Stefan Israelsson Tampe <stefan.itampe <at> gmail.com>

Date: Fri, 14 Oct 2016 18:56:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Stefan Israelsson Tampe <stefan.itampe <at> gmail.com>
To: 24695 <at> debbugs.gnu.org
Subject: bug#24695: impossible to use weak hash tables inside gc hooks
Date: Fri, 14 Oct 2016 20:54:56 +0200
[Message part 1 (text/plain, inline)]
For more advanced gc concepts it would be nice to keep a set a objects in a
weak key hash table and at gc loop over the alive ones the various gc hooks
that is available for the c coder.

The problem is that current guile data structure would hang on folding
because inside the guile weak folder gc is assumed to be prevented. Not
sure what to do here. This might be a feature request or a bug report
dependning on how you view it.

Regards
[Message part 2 (text/html, inline)]

This bug report was last modified 8 years and 106 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.