unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#24695: impossible to use weak hash tables inside gc hooks
@ 2016-10-14 18:54 Stefan Israelsson Tampe
  2017-03-01 12:49 ` Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Israelsson Tampe @ 2016-10-14 18:54 UTC (permalink / raw)
  To: 24695

[-- Attachment #1: Type: text/plain, Size: 441 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 511 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-01 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-14 18:54 bug#24695: impossible to use weak hash tables inside gc hooks Stefan Israelsson Tampe
2017-03-01 12:49 ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).