in reply to Re^2: problem of my multithreading perl script
in thread problem of my multithreading perl script

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

  • Comment on Re^3: problem of my multithreading perl script