Re: [gtk-list] g_hash_table_freeze and g_hash_table_thaw
- From: David Benson <daveb idealab com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] g_hash_table_freeze and g_hash_table_thaw
- Date: Sun, 28 Nov 1999 11:32:46 -0800 (PST)
> When exactly should the functions g_hash_table_freeze() and
> g_hash_table_thaw() be used?
Last time this came up, I looked at the source and found
that it appeared that if the hashtable was frozen,
that you could add and remove elements from within
a GHFunc or a GHRFunc (that is, in g_hash_table_foreach[_remove].
(So long as you don't delete the node you're visiting...)
Is this supported?
Does it really work?
Should it be documented?
- Dave
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]