Click here to Skip to main content
16,009,238 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAbout Thread Synchronization Pin
hanq_3891013017-May-09 23:16
hanq_3891013017-May-09 23:16 
AnswerRe: About Thread Synchronization Pin
Rajesh R Subramanian17-May-09 23:21
professionalRajesh R Subramanian17-May-09 23:21 
GeneralRe: About Thread Synchronization Pin
hanq_3891013017-May-09 23:34
hanq_3891013017-May-09 23:34 
GeneralRe: About Thread Synchronization Pin
Rajesh R Subramanian17-May-09 23:38
professionalRajesh R Subramanian17-May-09 23:38 
hanq_38910130 wrote:
But today, I Added "Thread Synchronization", and the bugs seem to be fixed


Glad about that.

hanq_38910130 wrote:
"Is Thread Synchronization needed in single thread in some conditions?"


But, I still am not able to understand this. If it is just one thread accessing the code that must be 'protected', then it does not matter how many other threads are running simultaneously. But if more than one thread can possibly access the code that must be protected, then you need synchronization. I hope I am clear.

There is a whole lot of information on this topic here[^] if you would like to read up.


It is a crappy thing, but it's life -^ Carlo Pallini

GeneralRe: About Thread Synchronization Pin
hanq_3891013017-May-09 23:47
hanq_3891013017-May-09 23:47 
QuestionDoubt on segmentation Pin
Sakthi.Gs :-)17-May-09 22:57
Sakthi.Gs :-)17-May-09 22:57 
AnswerRe: Doubt on segmentation Pin
Rajesh R Subramanian17-May-09 23:05
professionalRajesh R Subramanian17-May-09 23:05 
AnswerRe: Doubt on segmentation Pin
Naveen17-May-09 23:19
Naveen17-May-09 23:19 
Questioncricheditctrl on cmdichildwnd Pin
prithaa17-May-09 22:51
prithaa17-May-09 22:51 
AnswerRe: cricheditctrl on cmdichildwnd Pin
Sakthi.Gs :-)17-May-09 23:00
Sakthi.Gs :-)17-May-09 23:00 
GeneralRe: cricheditctrl on cmdichildwnd Pin
Sakthi.Gs :-)17-May-09 23:06
Sakthi.Gs :-)17-May-09 23:06 
GeneralRe: cricheditctrl on cmdichildwnd Pin
prithaa17-May-09 23:16
prithaa17-May-09 23:16 
GeneralRe: cricheditctrl on cmdichildwnd Pin
Chandrasekharan P18-May-09 1:59
Chandrasekharan P18-May-09 1:59 
GeneralRe: cricheditctrl on cmdichildwnd Pin
prithaa18-May-09 2:08
prithaa18-May-09 2:08 
GeneralRe: cricheditctrl on cmdichildwnd Pin
Chandrasekharan P18-May-09 2:18
Chandrasekharan P18-May-09 2:18 
GeneralRe: cricheditctrl on cmdichildwnd Pin
prithaa18-May-09 3:11
prithaa18-May-09 3:11 
GeneralRe: cricheditctrl on cmdichildwnd Pin
Chandrasekharan P18-May-09 18:02
Chandrasekharan P18-May-09 18:02 
GeneralRe: cricheditctrl on cmdichildwnd Pin
prithaa18-May-09 19:47
prithaa18-May-09 19:47 
GeneralRe: cricheditctrl on cmdichildwnd Pin
Chandrasekharan P18-May-09 20:11
Chandrasekharan P18-May-09 20:11 
Questionaudio tuning wizard Pin
B060611517-May-09 22:19
B060611517-May-09 22:19 
AnswerRe: audio tuning wizard Pin
Rajesh R Subramanian17-May-09 22:33
professionalRajesh R Subramanian17-May-09 22:33 
JokeRe: audio tuning wizard Pin
annathor17-May-09 22:36
annathor17-May-09 22:36 
QuestionRotating Controls Pin
Ayman Alterawi17-May-09 21:00
Ayman Alterawi17-May-09 21:00 
QuestionRe: Rotating Controls Pin
CPallini17-May-09 21:35
mveCPallini17-May-09 21:35 
AnswerRe: Rotating Controls Pin
Ayman Alterawi17-May-09 21:53
Ayman Alterawi17-May-09 21:53 

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.