Why is octave_base_mutex::count initialized to -1?

View: New views
2 Messages — Rating Filter:   Alert me  

Why is octave_base_mutex::count initialized to -1?

by Michael Goffioul-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Shouldn't it be 1?

Michael.

Why is octave_base_mutex::count initialized to -1?

by John W. Eaton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 21-Jul-2008, Michael Goffioul wrote:

| Shouldn't it be 1?

Yes.  I fixed it.

Thanks,

jwe