Mercurial > hg > octave-nkf
diff liboctave/ChangeLog @ 7952:2c0a0edae596
reorganize octave_mutex class
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 19 Jul 2008 22:59:14 -0400 |
parents | 7b8aca1cdf0a |
children | 645ced9fa838 |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,16 @@ +2008-07-19 John W. Eaton <jwe@octave.org> + + * oct-mutex.h (class octave_base_mutex): New class. + (class octave_mutex): Don't use union for rep and count. + (octave_mutex::rep): Declare as octave_base_mutex. + (octave_mutex::count): Delete. + (octave_mutex::lock, octave_mutex::unlock): No longer virtual. + (octave_mutex::~octave_mutex): No need to check that rep is + valid or set rep to zero after deleting. + (octave_mutex::operator =): No need to check that rep is valid. + * oct-mutex.cc (octave_w32_mutex, octave_pthread_mutex): Derive + from octave_base_mutex, not octave_mutex. + 2008-07-18 John W. Eaton <jwe@octave.org> * oct-mutex.h (octave_mutex::octave_mutex (int)): Initialize rep