Well, at least I'm not doing anything wrong with passing the argument (: .. (i guess).
Based on perlthrtut I got the impression threads->yield() was the way to go. I started using this function because a Bench i wrote gave me a 20% better performance, but on closer reflection my Benchmark was set up wrong.
Thx, i'll have a look-see again at threads::shared
In reply to Re: Re: threads and leaking scalars
by deliria
in thread threads and leaking scalars
by deliria
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |