quark hashtable locking
- From: Alexander Larsson <alexl redhat com>
- To: "gtk-devel-list gnome org" <gtk-devel-list gnome org>
- Subject: quark hashtable locking
- Date: Thu, 08 Mar 2007 10:28:15 +0100
Why does gdataset.c use a mutex to protect the quark hashtable. Isn't
this the ideal place for a readers-writers lock (GStaticRWLock). This
might not be a heavily contended lock, but it seems like a simple change
too. Maybe i'm missing something?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a time-tossed skateboarding matador with a secret. She's a
time-travelling mutant snake charmer with her own daytime radio talk show.
They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]