guile-devel
[Top][All Lists]
Advanced

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

Re: allocation within critical sections


From: Ludovic Courtès
Subject: Re: allocation within critical sections
Date: Fri, 17 Feb 2012 23:59:08 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux)

Hi,

Andy Wingo <address@hidden> skribis:

> Ooooh, good one.  A bug in Guile, this one, and tricky to get around.
> Of course, running finalizers in a separate thread will solve it.

It’s about differing user-provided finalizer execution, no?

What about using asyncs for that?  For instance, scm_i_finalize_smob
make a differed, instead of direct, call to the SMOB’s ‘free’, via
scm_i_queue_async_cell.

Thanks,
Ludo’.



reply via email to

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