How to make two perl functiones work concurrently ????
Hello Guys,
I am writing a perl program that consists of two main functionalities represented, each functionality represented by a SUB function (func1 and func2), and these two functiones should work concurrently by giving them an execution time of 2 seconds irrespective of running until the end of every function.
Now, how to make a concurrent execution for these two functions?
If the answer is using Mutithreading, then what kind of multithreading should I use, and how to start with???
Thanks for Help
Bassam
|