[Monetdb-developers] [Monetdb-checkins] MonetDB5/src/modules/mal remote.mx, , 1.87, 1.88

Fabian Groffen Fabian.Groffen at cwi.nl
Mon Apr 20 09:48:43 CEST 2009


On 19-04-2009 21:33:02 +0200, Martin Kersten wrote:
> >>  		}
> >>  	}
> >> -	mal_unset_lock(mal_remoteLock, "remote.list");
> 
> >     ^^^
> > 
> > Was this intended?  A loop through a shared linked list is made here,
> > which potentially can be modified while you walk through it, hence the
> > lock that was here.
> the locks are now placed one level higher in the calling structure.
> It was a consequence of first protecting RMTconnect structures.

Conclusion, it was intended and correct :)  (but just not documented)




More information about the developers-list mailing list