Re: [Vala] Is ArrayList.iterator reentrant?



On Tue, 2011-04-12 at 17:00 +0800, Nor Jaidi Tuah wrote:
Is ArrayList.iterator reentrant?

The reason I asked is that I got this
assertion error:

ERROR:arraylist.c:741:gee_array_list_iterator_real_next: assertion
failed: (self->priv->_stamp == self->priv->_list->priv->_stamp)

Is this a gee bug, or my improper use?

hand
Nor Jaidi Tuah

If underling collection every iterator is in undefined state unless this
iterator have made this change.

It will change for some collections in 0.7 - namely concurrent
collections which will be lock-free.

Regards





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]