Click here to Skip to main content
15,915,094 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Urgent help needed!! - WinExec Pin
Nish Nishant27-Apr-02 1:58
sitebuilderNish Nishant27-Apr-02 1:58 
GeneralRe: Urgent help needed!! - WinExec Pin
Lucky the code machine27-Apr-02 9:50
Lucky the code machine27-Apr-02 9:50 
QuestionHow to move a Bitmap control in a dialog ?? Pin
kortebi26-Apr-02 23:01
kortebi26-Apr-02 23:01 
GeneralA problem! about CxImage !! Pin
26-Apr-02 22:24
suss26-Apr-02 22:24 
QuestionCRecordset::Update()? Pin
26-Apr-02 22:17
suss26-Apr-02 22:17 
AnswerRe: CRecordset::Update()? Pin
Tim Deveaux27-Apr-02 4:40
Tim Deveaux27-Apr-02 4:40 
GeneralScanner ActiveX !!! Pin
Hadi Rezaee26-Apr-02 21:55
Hadi Rezaee26-Apr-02 21:55 
GeneralRead-Write locks... Pin
Matt Gullett26-Apr-02 16:04
Matt Gullett26-Apr-02 16:04 
I am working on an NT service. One of my classes is used mostly for read-only lookups into a stl map. Probably 70% of the calls made to this class are read-only requests and change no data members. The other 30% add or remove members from the intenal map object.

This class is called by as many as 200 threads and is used quite a bit. Currently I have it coded so that it locks the entire class during each function call regardless of whether or not that function does an update.

Anyway, I have spent a couple of hours searching the web for an open-source implementation of a read many, write once locking mechinism. I have developed a class to facilitate this and its almost done, but I thought before I bothered to finish it I would check here.

the question:
Does anyone know where I can get a pre-packaged Read/write locking class?

Thanks,

Matt Gullett

PS. If I have to finish my class I will post it to Code Project.
GeneralRe: Read-Write locks... Pin
Michael Dunn26-Apr-02 16:51
sitebuilderMichael Dunn26-Apr-02 16:51 
GeneralRe: Read-Write locks... Pin
Matt Gullett26-Apr-02 17:08
Matt Gullett26-Apr-02 17:08 
GeneralRe: Read-Write locks... Pin
Nemanja Trifunovic26-Apr-02 17:35
Nemanja Trifunovic26-Apr-02 17:35 
GeneralRe: Read-Write locks... Pin
Chris Hafey26-Apr-02 18:57
Chris Hafey26-Apr-02 18:57 
GeneralRe: Read-Write locks... Pin
JT Anderson29-Apr-02 13:54
JT Anderson29-Apr-02 13:54 
GeneralBooks :) Pin
SilverShalkin26-Apr-02 15:44
SilverShalkin26-Apr-02 15:44 
GeneralRe: Books :) Pin
Shog926-Apr-02 17:44
sitebuilderShog926-Apr-02 17:44 
GeneralRe: Books :) Pin
Christian Graus26-Apr-02 17:59
protectorChristian Graus26-Apr-02 17:59 
GeneralRe: Books :) Pin
l a u r e n26-Apr-02 22:49
l a u r e n26-Apr-02 22:49 
GeneralRe: Books :) Pin
SilverShalkin27-Apr-02 6:06
SilverShalkin27-Apr-02 6:06 
GeneralRe: Books :) Pin
Brian Delahunty27-Apr-02 6:55
Brian Delahunty27-Apr-02 6:55 
GeneralRe: Books :) Pin
Michael P Butler27-Apr-02 10:33
Michael P Butler27-Apr-02 10:33 
QuestionManaged C++ Web Service... is trying to download?? Pin
Adam Clauss26-Apr-02 15:16
Adam Clauss26-Apr-02 15:16 
GeneralmciSendString - AVI file with strange colours Pin
26-Apr-02 13:35
suss26-Apr-02 13:35 
GeneralRe: mciSendString - AVI file with strange colours Pin
Tom Archer26-Apr-02 14:34
Tom Archer26-Apr-02 14:34 
GeneralRe: mciSendString - AVI file with strange colours Pin
26-Apr-02 15:47
suss26-Apr-02 15:47 
GeneralRe: mciSendString - AVI file with strange colours Pin
Tom Archer26-Apr-02 15:51
Tom Archer26-Apr-02 15:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.