CVSROOT: /cvs/gnome
Module name: glib
Changes by: timj 05/11/22 08:16:58
Modified files:
. : ChangeLog
glib : gatomic.c gatomic.h ghash.c ghash.h
glib.symbols
Log message:
Tue Nov 22 14:04:26 2005 Tim Janik <[EMAIL PROTECTED]>
* glib/ghash.h:
* glib/ghash.c:
g_hash_table_new_full(): create hash tables with a ref count of 1.
g_hash_table_ref(): atomically ref_count+=1
g_hash_table_unref(): atomically ref_count-=1, destroys hash table
when refcount reaches 0.
g_hash_table_destroy(): just destroy keys and values, unref by 1.
g_hash_table_insert():
g_hash_table_replace(): assert ref_count>0.
* glib/gatomic.h:
* glib/gatomic.c: added 'volatile' qualifier to all atomic pointer and
integer pointers.
URL :
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=glib&who=timj&date=explicit&mindate=2005-11-22%2008:15&maxdate=2005-11-22%2008:17
_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list