What modules should I look at for doing multithreading in Perl?

后端 未结 5 1397
迷失自我
迷失自我 2021-02-09 12:05

What modules should I look at for doing multithreading in Perl?

I\'m looking to do something fairly low performance; I want threads is to run multiple workers simultaneo

5条回答
  •  面向向阳花
    2021-02-09 12:48

    It sounds like you don't need preemptive multithreading; in which case, look at POE's cooperative model. Since your code will only yield to other threads when you decide, and you'll only have one thread running at a time, development and debugging will be much easier.

提交回复
热议问题