[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Final: thread lock nesting debugging

From: Han-Wen Nienhuys
Subject: Re: [PATCH] Final: thread lock nesting debugging
Date: Mon, 17 Nov 2008 11:21:08 -0200
User-agent: Thunderbird (X11/20080723)

Linas Vepstas escreveu:
> I've been seeing all sorts of deadlocks in guile, and so I wrote a small
> debugging utility to try to track down the problems.  I'd like to see
> this patch included in future versions of guile.
> I found one bug with this tool, and have submitted a patch for that
> already.  It looks like there's another bug involving signals --
> there is a probably deadlock in garbage collection if a signal
> is sent at just the wrong time. The bug can be seen by enabling
> this patch, and then running 'make check'.  I'm going to ignore
> this, as I'm not worried about signals right now.
> This is my "final" version of this patch, I'd sent a beta version
> a few days ago. Its "final" because I'm not anticipating any
> further changes.

Would it be possible to have this be a runtime switch?  My experience
is that conditional code in GUILE (especially the debugging ones) tend 
to bitrot very quickly.  Also, they don´t help anyone who is not compiling
their own GUILE.

 Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]