Re: sharing objects ?
[email protected] (Arthur Bergman)
| Newsgroups | perl.ithreads |
|---|---|
| Message-ID | <[email protected]> |
On tisdag, apr 22, 2003, at 10:46 Europe/Stockholm, Martin Roos wrote: > > is there any way at all to share objects with threads::shared ? > the only idea how to pass an object from one thread to another would > in my vision > be to serialize it and to unserialize it on the other thread, but this > aint real sharing > just a datacopy. is there any better way to do it ? > > Share the reference and bless it? Arthur