mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
fixed some typos.
This commit is contained in:
parent
08b609aa1f
commit
e5547d5fc8
1 changed files with 6 additions and 6 deletions
|
@ -429,19 +429,19 @@ global data structure until they are no longer needed for finalizing
|
||||||
other objects.
|
other objects.
|
||||||
|
|
||||||
Being an element in a weak vector, a key in a hash table with weak
|
Being an element in a weak vector, a key in a hash table with weak
|
||||||
keys, or a value in a hash table with weak value does not prevent an
|
keys, or a value in a hash table with weak values does not prevent an
|
||||||
object from being returned by a guardian. But as long as an object
|
object from being returned by a guardian. But as long as an object
|
||||||
can be returned from a guardian it will not be removed from such a
|
can be returned from a guardian it will not be removed from such a
|
||||||
weak vector or hash table. In other words, a weak link does not
|
weak vector or hash table. In other words, a weak link does not
|
||||||
prevent an object from being considered collectable, but being inside
|
prevent an object from being considered collectable, but being inside
|
||||||
a guardian prevents a weak link from being broken.
|
a guardian prevents a weak link from being broken.
|
||||||
|
|
||||||
A key in a weak key hash table can be though of as having a strong
|
A key in a weak key hash table can be thought of as having a strong
|
||||||
reference to its associated value as long as the key is accessible.
|
reference to its associated value as long as the key is accessible.
|
||||||
Consequently, when the key only accessible from within a guardian, the
|
Consequently, when the key is only accessible from within a guardian,
|
||||||
reference from the key to the value is also considered to be coming
|
the reference from the key to the value is also considered to be
|
||||||
from within a guardian. Thus, if there is no other reference to the
|
coming from within a guardian. Thus, if there is no other reference
|
||||||
value, it is eligible to be returned from a guardian.
|
to the value, it is eligible to be returned from a guardian.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue