using Qreadwritelock() how to run two threads simultaneously...