#11866: Eliminate race condition in the computation of names for new threads.

Original patch by Peter Saveliev.
2 files changed