Re: [RFC] Stringify a thread

[email protected] ("Rafael Garcia-Suarez") Thu, 5 Oct 2006 18:05:58 +0200
Newsgroups perl.perl5.porters,perl.ithreads
Message-ID <[email protected]>
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.