add dense init thread using pthread