Re: Refcounting craziness



Michael Meeks <michael ximian com> writes: 
> 	Yes; I am interested, however bear in mind that we are inside an
> API freeze, and that these problems are not terminal. Handing and
> swallowing of references, internal reference accounting and various other
> historical strangenesses may be viewed as features. In many cases they
> reduce user code complexity, and line count, but if you can point at any
> specific horrors I'd be interested.
> 

Well, the specific horror pointed out was a roundabout way of writing:
 
 while (object->ref_count)
   unref (object);

which completely breaks language bindings, if you agree with no other
reason that it's a bug. ;-)

Havoc




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