guile-user
[Top][All Lists]
Advanced

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

Re: How to temporarily disable gc?


From: Michael Livshin
Subject: Re: How to temporarily disable gc?
Date: 09 Apr 2001 17:04:56 +0300
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Crater Lake)

Richard Guenther <address@hidden> writes:

> I (probably) neet to disable gc temporarily, how can I do this?

it's a bad sign that you have to say "probably".

you are more than welcome to ask questions here so that we can help
you understand precisely what your GC-related problem is, and so that
we'll be able to add/clarify the documentation accordingly if
appropriate.

but anyway, if you want to disable GC do this:

++scm_block_gc;
<your sensitive code>;
--scm_block_gc;

-- 
You shouldn't anthropomorphize computers; they don't like it.




reply via email to

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