CVSROOT:        /cvs/gnome
Module name:    beast
Changes by:     stw     06/05/31 10:05:08

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

Log message:
Wed May 31 15:48:35 2006  Stefan Westerfeld  <[EMAIL PROTECTED]>

* tests/threads.cc: Add some AutoLocker test code.

* birnetthreadxx.hh: Provide Birnet::AutoLocker class which locks a
mutex on construction, and automatically unlocks it on destruction, so
that putting an AutoLocker object on the stack conveniently ensures
that the mutex will be properly unlocked for instance when the
function returns or an exception gets thrown.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=beast&who=stw&date=explicit&mindate=2006-05-31%2010:04&maxdate=2006-05-31%2010:06

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

Reply via email to