Perl module for lock-based limits on cooperative multi-processing