|
From: | Ludovic Courtès |
Subject: | [Guile-commits] GNU Guile branch, wip-weak-hashtab-fix, created. release_1-9-4-52-gf60707a |
Date: | Fri, 30 Oct 2009 10:33:38 +0000 |
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Guile". http://git.savannah.gnu.org/cgit/guile.git/commit/?id=f60707a6d7257295e405273725eec963e89c1136 The branch, wip-weak-hashtab-fix has been created at f60707a6d7257295e405273725eec963e89c1136 (commit) - Log ----------------------------------------------------------------- commit f60707a6d7257295e405273725eec963e89c1136 Author: Ludovic Courtès <address@hidden> Date: Fri Oct 30 11:31:51 2009 +0100 Hold the GC lock when traversing weak hash table buckets. Initial attempt to fix the segfault with this program: (use-modules (ice-9 threads)) (call-with-new-thread (lambda () (while #t (gc))) (lambda () #f)) (let ((h (make-doubly-weak-hash-table 0)) (the-key (cons 'the 'key))) (while #t (hashq-set! h the-key (list 1)) (assq-set! (hashq-ref h the-key '()) 'akey (list 1)) (display "."))) ----------------------------------------------------------------------- hooks/post-receive -- GNU Guile
[Prev in Thread] | Current Thread | [Next in Thread] |