There is extra management overhead dealing with the threads, so yes, a multi-threaded program can run slower than a single threaded program, especially if there is no work other than the I/O to do.
--MidLifeXis
In reply to Re^3: problem of my multithreading perl script
by MidLifeXis
in thread problem of my multithreading perl script
by qingfengzealot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |