in reply to Re: Re: Sharing (blessed)? references with Thread::Queue.
in thread Sharing (blessed)? references with Thread::Queue.
Eh... yes, I think so... ;-)
I think Thread::Queue::Any is what I am looking for, so I'll try that. Is it fair to say that an ordinary Thread::Queue is not capable of doing what I want it to?
I'm not 100% sure that Thread::Queue::Any can do what you want. Even though you can pass references to Thread::Queue::Ant, you are in fact copying the structure that lies behind the reference. So any change you make in one thread will not seen in the other threads. I couldn't make out from your example whether that is what you wanted or not.
Liz
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Sharing (blessed)? references with Thread::Queue.
by preston (Initiate) on Jan 07, 2004 at 22:42 UTC |