The lock.waiter field was not marked during GC

This commit is contained in:
Juan Jose Garcia Ripoll 2012-03-19 00:59:51 +01:00
parent 6719519516
commit bc738ccae8

View file

@ -982,7 +982,8 @@ init_alloc(void)
to_bitmap(&o, &(o.process.waiting_for));
type_info[t_lock].descriptor =
to_bitmap(&o, &(o.lock.name)) |
to_bitmap(&o, &(o.lock.owner));
to_bitmap(&o, &(o.lock.owner)) |
to_bitmap(&o, &(o.lock.waiter));
# ifdef ECL_RWLOCK
type_info[t_rwlock].descriptor =
to_bitmap(&o, &(o.rwlock.name));