guile-devel
[Top][All Lists]
Advanced

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

Re: allocation within critical sections


From: Andy Wingo
Subject: Re: allocation within critical sections
Date: Fri, 24 Feb 2012 16:04:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Hi!

On Fri 17 Feb 2012 23:59, address@hidden (Ludovic Courtès) writes:

>> Of course, running finalizers in a separate thread will solve it.
>
> 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.

I just pushed a patch to master that runs all finalizers asynchronously:
from asyncs, and, if threads are supported, from a separate thread.

Take a look; feedback appreciated!

Cheers,

Andy
-- 
http://wingolog.org/



reply via email to

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