Firstly, take a look at the following:
In addition, here's a couple of points based on the code you've supplied:
Update: See ++BrowserUk's comment below. threads::shared has:
$var = &share([]); # Same as $var = shared_clone([]);
-- Ken
In reply to Re: sharing array of arrays between threads
by kcott
in thread sharing array of arrays between threads
by bebe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |