Click here to Skip to main content
15,885,309 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CString += CString :: doesn't do the trick? Pin
V.13-Oct-04 4:39
professionalV.13-Oct-04 4:39 
AnswerRe: CString += CString :: doesn't do the trick? Pin
Phil J Pearson14-Oct-04 5:15
Phil J Pearson14-Oct-04 5:15 
Generalthread safe lazy singleton intialization Pin
peterchen12-Oct-04 22:09
peterchen12-Oct-04 22:09 
GeneralRe: thread safe lazy singleton intialization Pin
Joaquín M López Muñoz13-Oct-04 0:19
Joaquín M López Muñoz13-Oct-04 0:19 
GeneralRe: thread safe lazy singleton intialization Pin
peterchen13-Oct-04 1:52
peterchen13-Oct-04 1:52 
GeneralRe: thread safe lazy singleton intialization Pin
Neville Franks13-Oct-04 0:30
Neville Franks13-Oct-04 0:30 
GeneralRe: thread safe lazy singleton intialization Pin
peterchen13-Oct-04 2:18
peterchen13-Oct-04 2:18 
GeneralRe: thread safe lazy singleton intialization Pin
Joaquín M López Muñoz13-Oct-04 3:26
Joaquín M López Muñoz13-Oct-04 3:26 
Peter, before you go and adopt the double check solution, please be aware that this idiom, appealing as it looks, is fundamentally broken. The most thorough exposition of the problem is given in Bacon et al. paper The "Double-Checked Locking is Broken" Declaration[^]. This issue has been devoted literally thousands of posts on comp.lang.c++ and comp.lang.c++.moderated, with threading experts rejecting its validity and lots of enthusiastics proposing seemingly correct formulations: one could call this problem the Fermat's Last Theorem of multithreaded programming, if you know what I mean (except that the theorem is true Smile | :) )

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
Want a Boost forum in Code Project? Vote here[^]!
GeneralRe: thread safe lazy singleton intialization Pin
Neville Franks13-Oct-04 9:31
Neville Franks13-Oct-04 9:31 
GeneralRe: thread safe lazy singleton intialization Pin
Joaquín M López Muñoz13-Oct-04 10:01
Joaquín M López Muñoz13-Oct-04 10:01 
GeneralRe: thread safe lazy singleton intialization Pin
Neville Franks13-Oct-04 10:29
Neville Franks13-Oct-04 10:29 
GeneralRe: thread safe lazy singleton intialization Pin
peterchen13-Oct-04 9:51
peterchen13-Oct-04 9:51 
GeneralRe: thread safe lazy singleton intialization Pin
Neville Franks13-Oct-04 10:54
Neville Franks13-Oct-04 10:54 
GeneralRe: thread safe lazy singleton intialization Pin
peterchen13-Oct-04 2:24
peterchen13-Oct-04 2:24 
General2 questions about working with files Pin
Ernesto D.12-Oct-04 21:51
Ernesto D.12-Oct-04 21:51 
GeneralRe: 2 questions about working with files Pin
Graham Bradshaw12-Oct-04 22:18
Graham Bradshaw12-Oct-04 22:18 
GeneralRe: 2 questions about working with files Pin
Ernesto D.13-Oct-04 7:05
Ernesto D.13-Oct-04 7:05 
GeneralRe: 2 questions about working with files Pin
bolivar12313-Oct-04 8:54
bolivar12313-Oct-04 8:54 
GeneralRAS (Remote access service) Pin
Member 143564812-Oct-04 21:26
Member 143564812-Oct-04 21:26 
QuestionMSAccess through ODBC : Office needed ? Pin
Jerome Conus12-Oct-04 21:12
Jerome Conus12-Oct-04 21:12 
AnswerRe: MSAccess through ODBC : Office needed ? Pin
Kurt Muellner12-Oct-04 21:30
Kurt Muellner12-Oct-04 21:30 
AnswerRe: MSAccess through ODBC : Office needed ? Pin
Antony M Kancidrowski13-Oct-04 1:53
Antony M Kancidrowski13-Oct-04 1:53 
QuestionHow do I get 'class CString' to 'const char *' Pin
Jochum Wittebrood12-Oct-04 21:08
Jochum Wittebrood12-Oct-04 21:08 
AnswerRe: How do I get 'class CString' to 'const char *' Pin
GDavy12-Oct-04 22:14
GDavy12-Oct-04 22:14 
GeneralRe: How do I get 'class CString' to 'const char *' Pin
Rick York13-Oct-04 9:59
mveRick York13-Oct-04 9:59 

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.