in reply to Re^2: Runing "regular" code with threaded perl
in thread Runing "regular" code with threaded perl

The problem seems to be with the bjmsys() function. What does it do and who wrote it?

You should ask whoever is responsible for maintaining bjmsys() why it's returning before producing its output file on a multicore system.