On 10/5/06, Rafael Garcia-Suarez <[EMAIL PROTECTED]> wrote:
On 05/10/06, Joshua ben Jore <[EMAIL PROTECTED]> wrote:
> Better would be letting the stringified object still look like a
> stringified object. Perhaps you add your info on the end like C<<
> ',tid=' . $obj->tid  >>. I get a lot of mileage out of noticing what
> things look like when printed. It's unusual when an object doesn't
> stringify to something to that looks like an object.

That's a nice idea, assuming stringification of threads will be mostly
used for debugging and trace purposes.

It also gets Jerry's desired uniqueness property. I guess. He said
->tid was unique and I believe him. I don't know a thing about threads
except that they make poking at optrees annoying.

Josh

Reply via email to