Debug messages for pthread parts