57486f0b69
variables to only use them a) when debugging, and b) when we don't have real thread support. This commit was SVN r15099.