CVSROOT:        /cvs/gnome
Module name:    beast
Changes by:     timj    06/06/09 13:52:19

Modified files:
        birnet         : ChangeLog birnetthreadxx.cc birnetthreadxx.hh 
        birnet/tests   : threads.cc 

Log message:
Fri Jun  9 19:50:24 2006  Tim Janik  <[EMAIL PROTECTED]>

* birnetthreadxx.hh: allow multiple invocations of relock() without
unlock() on an auto locker and have the auto locker clear up these
locks in its destructor. i.e. added a lock counter to auto locker.

* birnetthreadxx.cc (_birnet_init_threads_cxx):
avoid std::list::size() which is O(N).

* test/threads.cc: moved former AutoLocker here as GenericAutoLocker,
added it to auto locker benchmarks. added a test to check auto locker
lock counting.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=beast&who=timj&date=explicit&mindate=2006-06-09%2013:51&maxdate=2006-06-09%2013:53

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to