CVSROOT: /cvs/gnome Module name: glib Changes by: matthiasc 05/11/22 10:34:09
Modified files: . : ChangeLog glib : gdataset.c Log message: 2005-11-22 Matthias Clasen <[EMAIL PROTECTED]> Avoid double locking in g_intern_string (#322133, Benedikt Meurer) * glib/gdataset.c (g_quark_from_string_internal): New internal function which factors out common parts of g_quark_from[_static]_string. (g_quark_from_string, g_quark_from_static_string): Use g_quark_from_string_internal. (g_intern_string, g_intern_static_string): Use g_quark_from_string_internal, and only take the lock once. (g_quark_new): Don't store the strings shifted by -1 in the g_quarks array. (g_quark_to_string): Adapt to the previous change. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=glib&who=matthiasc&date=explicit&mindate=2005-11-22%2010:33&maxdate=2005-11-22%2010:35 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list