QReadWriteLock is for synchronizing access between threads.
It basically prevents two thread from running simultantiously.

Cheers,
_