quark hashtable locking



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]