[svn-r6923] fix multithreaded context ID allocation
Racy accesses don't happen any longer, although I think this code now runs slower in some cases. Also, unrelated to this change, this algorithm probably scales poorly with the number of contending threads. No reviewer.
Please register or sign in to comment