Now prints thread ID for each message (pthreads only)