acid bug fix. lock printf output to avoid interlacing debug prints.
acid bug fix.
lock printf output to avoid interlacing debug prints.

R=r
DELTA=10  (7 added, 0 deleted, 3 changed)
OCL=35539
CL=35561
abustany/go,abustany/go,abustany/go,abustany/go,abustany/go,abustany/go,abustany/go