[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
doco scm_remember_upto_1
From: |
Kevin Ryde |
Subject: |
doco scm_remember_upto_1 |
Date: |
Thu, 22 May 2003 09:15:53 +1000 |
User-agent: |
Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux) |
In the "Type checking" node of the manual showing the clear_image
example smob code, should that function have an scm_remember_upto_1
just before returning, in order to keep image_smob visible to a
garbage collect that might run in another thread?
I was going to write some words about scm_remember_upto_1. I was
going to have a new "map_image" to illustrate the point, then wondered
whether clear_image ought already show it. Either that or it's an
example of when not needed.
I'm assuming since scm_remember_upto_1 is mentioned in the 1.6 NEWS
that it's a documented (or meant to be documented) feature.
- doco scm_remember_upto_1,
Kevin Ryde <=