push @array1, new threads \&funct_array,($par1,$par2,$filename);