Re: [gtk-list] g_hash_table_freeze and g_hash_table_thaw



> 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]