Click here to Skip to main content
15,917,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Thread safe output.. Pin
Code-o-mat20-Aug-11 11:19
Code-o-mat20-Aug-11 11:19 
GeneralRe: Thread safe output.. Pin
TenFiftyTwo20-Aug-11 12:10
TenFiftyTwo20-Aug-11 12:10 
GeneralRe: Thread safe output.. Pin
Code-o-mat20-Aug-11 22:52
Code-o-mat20-Aug-11 22:52 
GeneralRe: Thread safe output.. Pin
TenFiftyTwo20-Aug-11 23:10
TenFiftyTwo20-Aug-11 23:10 
GeneralRe: Thread safe output.. Pin
Code-o-mat20-Aug-11 23:30
Code-o-mat20-Aug-11 23:30 
GeneralRe: Thread safe output.. Pin
TenFiftyTwo20-Aug-11 23:32
TenFiftyTwo20-Aug-11 23:32 
GeneralRe: Thread safe output.. Pin
Code-o-mat21-Aug-11 10:05
Code-o-mat21-Aug-11 10:05 
GeneralRe: Thread safe output.. Pin
TenFiftyTwo21-Aug-11 10:16
TenFiftyTwo21-Aug-11 10:16 
Hi.

Thanks for the update. Yes that would work and to be honest I had considered a similar setup - but I wanted to avoid over-complicating the solution. I actually have a slew of named-pipes in the app already - so coding that is not an issue.

How I wish the I/O functions had been designed to implement a simple mutex or event to indicate that an output stream had been acquired.

I am going to have to go ahead and employ the mechanism as you describe.

I would like to thank you very much for the time you have given to this issue.

My best regards.
James.
GeneralRe: Thread safe output.. [modified] Pin
Code-o-mat21-Aug-11 10:23
Code-o-mat21-Aug-11 10:23 
QuestionCRegKey::SetValue not function on Win 7 Pin
_Flaviu19-Aug-11 8:37
_Flaviu19-Aug-11 8:37 
AnswerRe: CRegKey::SetValue not function on Win 7 Pin
Richard MacCutchan19-Aug-11 9:23
mveRichard MacCutchan19-Aug-11 9:23 
GeneralRe: CRegKey::SetValue not function on Win 7 Pin
_Flaviu19-Aug-11 9:39
_Flaviu19-Aug-11 9:39 
GeneralRe: CRegKey::SetValue not function on Win 7 Pin
Richard Andrew x6419-Aug-11 11:43
professionalRichard Andrew x6419-Aug-11 11:43 
GeneralRe: CRegKey::SetValue not function on Win 7 Pin
Richard MacCutchan20-Aug-11 0:16
mveRichard MacCutchan20-Aug-11 0:16 
GeneralRe: CRegKey::SetValue not function on Win 7 Pin
_Flaviu20-Aug-11 2:42
_Flaviu20-Aug-11 2:42 
GeneralRe: CRegKey::SetValue not function on Win 7 Pin
Richard MacCutchan20-Aug-11 6:31
mveRichard MacCutchan20-Aug-11 6:31 
GeneralRe: CRegKey::SetValue not function on Win 7 Pin
Cheongwadae20-Aug-11 9:17
Cheongwadae20-Aug-11 9:17 
GeneralRe: CRegKey::SetValue not function on Win 7 Pin
_Flaviu22-Aug-11 19:26
_Flaviu22-Aug-11 19:26 
QuestionVisual studio 2005 (package load failure) Pin
lahatra19-Aug-11 7:48
lahatra19-Aug-11 7:48 
AnswerRe: Visual studio 2005 (package load failure) Pin
Richard MacCutchan19-Aug-11 9:20
mveRichard MacCutchan19-Aug-11 9:20 
QuestionHow to detect a winsock connection lost Pin
sirtimid19-Aug-11 5:53
sirtimid19-Aug-11 5:53 
AnswerCrosspost Pin
Richard MacCutchan19-Aug-11 6:39
mveRichard MacCutchan19-Aug-11 6:39 
QuestionVc6 have problem on Win 7 Pin
_Flaviu19-Aug-11 5:29
_Flaviu19-Aug-11 5:29 
AnswerRe: Vc6 have problem on Win 7 Pin
User 742933820-Aug-11 21:16
professionalUser 742933820-Aug-11 21:16 
QuestionGhraphical representation of RR scheduling program Pin
coder 719-Aug-11 4:56
coder 719-Aug-11 4:56 

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.