add per-thread user ids
Merge pull request #1 from tca/thread_ids

add per-thread user ids