Sharing Object::InsideOut object between threads
am 03.03.2010 12:27:57 von menth0lHi,
I'm having some problems with passing an object of Object::InsideOut
type through Thread::Queue object. Here's some simple illustration of
this problem:
http://pastebin.com/PEC7EMB8
Why refcount() shows "3" for object dequeued from queue? And why is
object not destroyed as it should be? Is there some mistake in my code
or does the documentation for Object::InsideOut lies about the thread-
safety? Is there any other way to pass an *objects* between threads?
--
menth0l
--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/