Click here to Skip to main content
15,913,933 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionReader Writer lock Pin
Waldermort5-Sep-07 0:50
Waldermort5-Sep-07 0:50 
AnswerRe: Reader Writer lock Pin
chandu0045-Sep-07 1:42
chandu0045-Sep-07 1:42 
AnswerRe: Reader Writer lock Pin
Matthew Faithfull5-Sep-07 1:52
Matthew Faithfull5-Sep-07 1:52 
GeneralRe: Reader Writer lock Pin
Waldermort5-Sep-07 2:44
Waldermort5-Sep-07 2:44 
GeneralRe: Reader Writer lock Pin
El Corazon5-Sep-07 5:02
El Corazon5-Sep-07 5:02 
GeneralRe: Reader Writer lock Pin
El Corazon5-Sep-07 5:34
El Corazon5-Sep-07 5:34 
GeneralRe: Reader Writer lock Pin
Waldermort5-Sep-07 6:17
Waldermort5-Sep-07 6:17 
GeneralRe: Reader Writer lock Pin
El Corazon5-Sep-07 7:38
El Corazon5-Sep-07 7:38 
WalderMort wrote:
It's an interesting concept, though I have managed to do away with the thread altogether.


well, then to quote one of my favorite movies....

"I am happy and sad for you."

I am glad you solved it, but sad you didn't get the thread going. threaded operations when written correctly can gain you a lot of time back. Though perhaps in this case it was really extra overhead. Still, I have many reader/writer threads running independantly, my whole streaming debugging system works under the multi-threaded ring buffer concept. (it's why it suddently occured to me, that has been stable for a year, so I haven't really thought about it since). It's a streaming writer with the debugs coming from multiple threads (multi-threaded write), and a single thread streaming the output of the embedded debugger to another computer. I have debugged in this fashion from 40 miles away using a packet radio, nifty. Smile | :)

_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

GeneralRe: Reader Writer lock Pin
Matthew Faithfull5-Sep-07 5:49
Matthew Faithfull5-Sep-07 5:49 
GeneralRe: Reader Writer lock Pin
Waldermort5-Sep-07 6:15
Waldermort5-Sep-07 6:15 
AnswerRe: Reader Writer lock Pin
Matthew Faithfull5-Sep-07 6:28
Matthew Faithfull5-Sep-07 6:28 
GeneralRe: Reader Writer lock Pin
El Corazon5-Sep-07 7:42
El Corazon5-Sep-07 7:42 
GeneralRe: Reader Writer lock Pin
Matthew Faithfull5-Sep-07 9:30
Matthew Faithfull5-Sep-07 9:30 
GeneralRe: Reader Writer lock Pin
El Corazon5-Sep-07 9:52
El Corazon5-Sep-07 9:52 
QuestionA very basic question Pin
HakunaMatada5-Sep-07 0:24
HakunaMatada5-Sep-07 0:24 
AnswerRe: A very basic question Pin
Matthew Faithfull5-Sep-07 0:47
Matthew Faithfull5-Sep-07 0:47 
AnswerRe: A very basic question Pin
Waldermort5-Sep-07 0:58
Waldermort5-Sep-07 0:58 
AnswerRe: A very basic question Pin
Hamid_RT5-Sep-07 1:02
Hamid_RT5-Sep-07 1:02 
QuestionIE question Pin
Mohit19825-Sep-07 0:18
Mohit19825-Sep-07 0:18 
AnswerRe: IE question Pin
Hamid_RT5-Sep-07 1:05
Hamid_RT5-Sep-07 1:05 
QuestionHow to retrive the handle of other window. Pin
GauranG Shah4-Sep-07 23:31
GauranG Shah4-Sep-07 23:31 
AnswerRe: How to retrive the handle of other window. Pin
Waldermort4-Sep-07 23:56
Waldermort4-Sep-07 23:56 
QuestionMFC Multiple Inheritance Pin
Krishnatv4-Sep-07 22:50
Krishnatv4-Sep-07 22:50 
AnswerRe: MFC Multiple Inheritance Pin
toxcct4-Sep-07 22:53
toxcct4-Sep-07 22:53 
GeneralRe: MFC Multiple Inheritance Pin
Krishnatv4-Sep-07 23:07
Krishnatv4-Sep-07 23:07 

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.