Mercurial > hg > octave-lyh
changeset 7943:7b8aca1cdf0a
octave_mutex initialization fixes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 18 Jul 2008 13:00:52 -0400 |
parents | db6478d9c669 |
children | c2449e91f50a |
files | liboctave/ChangeLog liboctave/oct-mutex.cc liboctave/oct-mutex.h |
diffstat | 3 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,10 @@ +2008-07-18 John W. Eaton <jwe@octave.org> + + * oct-mutex.h (octave_mutex::octave_mutex (int)): Initialize rep + to 0, not count. + * oct-mutex.cc (octave_mutex::octave_mutex (void)): Set rep->count + to 1 instead of incrementing it. + 2008-07-17 Michael Goffioul <michael.goffioul@gmail.com> * dNDArray.cc: Do not include ctor NDArray(Array<octave_idx_type>,