[Top][All Lists]
[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/
- Re: allocation within critical sections, (continued)
- Re: allocation within critical sections, Ludovic Courtès, 2012/02/16
- Re: allocation within critical sections, Andy Wingo, 2012/02/16
- Re: allocation within critical sections, Mike Gran, 2012/02/16
- Re: allocation within critical sections, Andy Wingo, 2012/02/17
- Re: allocation within critical sections, Mike Gran, 2012/02/17
- Re: allocation within critical sections, Andy Wingo, 2012/02/17
- Re: allocation within critical sections, Ludovic Courtès, 2012/02/17
- Re: allocation within critical sections, Andy Wingo, 2012/02/19
- Re: allocation within critical sections, Ludovic Courtès, 2012/02/19
- Re: allocation within critical sections, Andy Wingo, 2012/02/19
- Re: allocation within critical sections,
Andy Wingo <=