Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

wwwxxxAPC, How to unsubscrube from dategen spam, WWWXXXAPC, docmd.close 2585, WWWXXXDOCO, nu vot, dhcpd lease file "binding state", WWWXXXDOCO, how to setup procmail to process html2text, how to setup procmail html2text

Links

XODOX
Impressum

#1: Sharing Object::InsideOut object between threads

Posted on 2010-03-03 12:27:57 by menth0l

Hi,

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/

Report this message

#2: Re: Sharing Object::InsideOut object between threads

Posted on 2010-03-06 09:18:58 by menth0l

I've contacted module author on that matter and it turned out there
was a bug in OIO 3.59. Fixed version 3.63 is already available on
CPAN.

--
menth0l


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Report this message