How to implement parallel processing?
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.
*Sadly, we had to bring back ads too. Hopefully more targeted.