Project

General

Profile

Actions

Task #132

closed

Using of QSharedPointer in a concurrent environment

Added by Greg Burri almost 15 years ago. Updated over 14 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
-
Target version:
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 #1

Updated by Greg Burri over 14 years ago

  • Status changed from Assigned to Rejected
Actions

Also available in: Atom PDF