synchronised block for processData in proc1 (trial phase)