Second thread process pid usage