guile-user
[Top][All Lists]
Advanced

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

Re: Killing off scm_init_guile for Guile 2.0 ?


From: Ludovic Courtès
Subject: Re: Killing off scm_init_guile for Guile 2.0 ?
Date: Fri, 23 Jan 2009 17:21:34 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

Hello,

Neil Jerram <address@hidden> writes:

> For example, threads in guile mode are
> (currently; I'm not sure what BDW-GC will do) paused when a garbage
> collection is needed; so activity on another guile thread could
> suddenly block the application thread; or more likely the other way
> round: the GC would not be able to proceed, because the application
> thread would not actually pause.

BDW-GC doesn't require cooperation from all threads to operate.  Thus, a
blocking system call in one thread doesn't prevent GC operation, for
instance [0].  This makes `scm_without_guile ()' optional.

Thanks,
Ludo'.

[0] 
http://thread.gmane.org/gmane.comp.programming.garbage-collection.boehmgc/2319





reply via email to

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