That is why I have decided to go for threads. because I thought that in fork I might waste some time in creation of process and resources associated with that, so i decided to go for threads, since they are lightweight compared to fork.
If that's your only reason for considering threads for this, use fork instead. Perl's threads are not lightweight.
In reply to Re^5: choosing threads
by BrowserUk
in thread choosing threads
by targetsmart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |