Also this script will run on a machine with 2 cpus. Will the threading enable it to use both cpu's?This depends on the threading implementation of your operating system. I believe that on FreeBSD 4.x it won't (unless you use the linuxthreads package), while on Linux it will.
In reply to Re: faster with threads?
by eserte
in thread faster with threads?
by js1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |