Actions
Task #132
closedUsing of QSharedPointer in a concurrent environment
Start date:
07/17/2009
Due date:
% Done:
0%
Estimated time:
keywords:
Platform:
Description
Makes a little prototype to test the QSharedPointer and QWeakPointer with two threads.
One thread (from PeerManager) has some QSharedPointer<Peer*>. This thread may delete some peer.
One thread (ChunkUpdater from DownloadManager) has some QWeakPointer<Peer*>. This thread will access to the peer.
Before all operations on a Peer (delete, read a value), a lock from the peer must be grab.
Actions