"I need to have shared variables between all new threads ...
Why not just fork processes instead? Sounds like you want to perform Interprocess Communication and that's what forking is good at.
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to Re: Threads, processes and sharing variables
by jeffa
in thread Threads, processes and sharing variables
by perlnwb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |