Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to implement parallel processing?

implement parallel
0
10 Posted

How to implement parallel processing?

0

Prima doesn’t work if called from more than one thread, since Perl scalars cannot be shared between threads automatically, but only if explicitly told, bu using thread::shared. Prima does work in multithread environments though, but only given it runs within a dedicated thread. It is important not to call Prima methods from any other thread, because scalars that may be created inside these calls will be unavailable to the Prima core, which would result in strange errors.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.