change testdata
from mutex and cond/wait to barrier
not using barrier, cond is ok, but havn't specify read thread