Click here to Skip to main content
15,918,303 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Visibility of members of owner class Pin
Radek7223-Oct-08 8:11
Radek7223-Oct-08 8:11 
GeneralRe: Visibility of members of owner class Pin
Richard Andrew x6423-Oct-08 8:16
professionalRichard Andrew x6423-Oct-08 8:16 
AnswerRe: Visibility of members of owner class Pin
CPallini23-Oct-08 7:39
mveCPallini23-Oct-08 7:39 
Questiontutorial help Pin
jonig1923-Oct-08 3:38
jonig1923-Oct-08 3:38 
AnswerRe: tutorial help Pin
CPallini23-Oct-08 3:49
mveCPallini23-Oct-08 3:49 
AnswerRe: tutorial help PinPopular
Richard Andrew x6423-Oct-08 3:51
professionalRichard Andrew x6423-Oct-08 3:51 
GeneralRe: tutorial help Pin
Mark Salsbery23-Oct-08 4:42
Mark Salsbery23-Oct-08 4:42 
GeneralRe: tutorial help Pin
led mike23-Oct-08 5:23
led mike23-Oct-08 5:23 
Questionget pixel color Pin
rakesh528323-Oct-08 3:35
rakesh528323-Oct-08 3:35 
Questionget pixel color Pin
rakesh528323-Oct-08 3:34
rakesh528323-Oct-08 3:34 
AnswerRe: get pixel color Pin
CPallini23-Oct-08 3:48
mveCPallini23-Oct-08 3:48 
QuestionEM_AUTOURLDETECT , how to set the hyper link text color? Pin
YaronNir23-Oct-08 3:29
YaronNir23-Oct-08 3:29 
QuestionHow to declare global variable in MFC dialog based application? Pin
sn00pi23-Oct-08 2:42
sn00pi23-Oct-08 2:42 
AnswerRe: How to declare global variable in MFC dialog based application? Pin
CPallini23-Oct-08 3:09
mveCPallini23-Oct-08 3:09 
GeneralRe: How to declare global variable in MFC dialog based application? Pin
sn00pi23-Oct-08 5:31
sn00pi23-Oct-08 5:31 
GeneralRe: How to declare global variable in MFC dialog based application? Pin
CPallini23-Oct-08 6:06
mveCPallini23-Oct-08 6:06 
GeneralRe: How to declare global variable in MFC dialog based application? Pin
sn00pi23-Oct-08 8:02
sn00pi23-Oct-08 8:02 
GeneralRe: How to declare global variable in MFC dialog based application? Pin
CPallini23-Oct-08 8:06
mveCPallini23-Oct-08 8:06 
Questionstring pointer and int pointer Pin
rahulcrjk23-Oct-08 2:40
rahulcrjk23-Oct-08 2:40 
AnswerRe: string pointer and int pointer Pin
Roger Stoltz23-Oct-08 2:52
Roger Stoltz23-Oct-08 2:52 
AnswerRe: string pointer and int pointer Pin
Cedric Moonen23-Oct-08 2:55
Cedric Moonen23-Oct-08 2:55 
AnswerRe: string pointer and int pointer Pin
CPallini23-Oct-08 3:01
mveCPallini23-Oct-08 3:01 
AnswerRe: string pointer and int pointer Pin
king'ori23-Oct-08 4:03
king'ori23-Oct-08 4:03 
QuestionConfiguration Reload Pin
Soumyadipta23-Oct-08 2:03
Soumyadipta23-Oct-08 2:03 
AnswerRe: Configuration Reload Pin
Roger Stoltz23-Oct-08 2:20
Roger Stoltz23-Oct-08 2:20 
Soumyadipta wrote:
4. Now i have changed my configuration file and i want to reload the config map without restarting my process
5. lots of places i am already accessing this map

How safely i can reload my configurations?


With the limited information you've given at least I can only give a general answer...
You have to trigger the "reloading" procedure in some way.
If you by "accessing the map" mean that you're using the map from different threads, you also need to provide thread synchronization using a critical section or mutex.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown


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.