Click here to Skip to main content
15,893,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Change Application Icon Pin
Wim Engberts16-Feb-06 5:21
Wim Engberts16-Feb-06 5:21 
GeneralRe: Change Application Icon Pin
ThatsAlok16-Feb-06 17:18
ThatsAlok16-Feb-06 17:18 
QuestionSir,I want 2 know that weather we can call SAME function in Multiple Threads? Pin
CodeVarma15-Feb-06 3:18
CodeVarma15-Feb-06 3:18 
AnswerRe: Sir,I want 2 know that weather we can call SAME function in Multiple Threads? Pin
Tim Smith15-Feb-06 3:35
Tim Smith15-Feb-06 3:35 
GeneralRe: Sir,I want 2 know that weather we can call SAME function in Multiple Threads? Pin
ThatsAlok16-Feb-06 2:43
ThatsAlok16-Feb-06 2:43 
GeneralRe: Sir,I want 2 know that weather we can call SAME function in Multiple Threads? Pin
Tim Smith16-Feb-06 3:40
Tim Smith16-Feb-06 3:40 
GeneralRe: Sir,I want 2 know that weather we can call SAME function in Multiple Threads? Pin
ThatsAlok16-Feb-06 17:24
ThatsAlok16-Feb-06 17:24 
AnswerRe: Sir,I want 2 know that weather we can call SAME function in Multiple Threads? Pin
BadKarma15-Feb-06 3:54
BadKarma15-Feb-06 3:54 
It is possible to call the same function from two different threads. Normaly this
holds no problem.

There are indeed issues you must consider when doing is.

Normal vars are placed in the stack and since each thread has his own stack.
But static vars are not located on the stack , so both threads could take action
on those objects.

Another issue is that some objects aren't thread safe, so using such vars in a
function causes the function to be not thread safe



codito ergo sum
AnswerRe: Sir,I want 2 know that weather we can call SAME function in Multiple Threads? Pin
Stephen Hewitt15-Feb-06 16:59
Stephen Hewitt15-Feb-06 16:59 
AnswerRe: Sir,I want 2 know that weather we can call SAME function in Multiple Threads? Pin
ThatsAlok16-Feb-06 2:41
ThatsAlok16-Feb-06 2:41 
Questionmodeless dialog WM_CLOSE - opinion Pin
23_44415-Feb-06 3:14
23_44415-Feb-06 3:14 
AnswerRe: modeless dialog WM_CLOSE - opinion Pin
Shog915-Feb-06 3:46
sitebuilderShog915-Feb-06 3:46 
AnswerRe: modeless dialog WM_CLOSE - opinion Pin
Rage15-Feb-06 3:59
professionalRage15-Feb-06 3:59 
GeneralRe: modeless dialog WM_CLOSE - opinion Pin
23_44415-Feb-06 4:43
23_44415-Feb-06 4:43 
GeneralRe: modeless dialog WM_CLOSE - opinion Pin
23_44415-Feb-06 4:58
23_44415-Feb-06 4:58 
GeneralRe: modeless dialog WM_CLOSE - opinion Pin
Shog915-Feb-06 7:53
sitebuilderShog915-Feb-06 7:53 
GeneralRe: modeless dialog WM_CLOSE - opinion Pin
23_44415-Feb-06 8:00
23_44415-Feb-06 8:00 
AnswerRe: modeless dialog WM_CLOSE - opinion Pin
23_44416-Feb-06 5:17
23_44416-Feb-06 5:17 
GeneralRe: modeless dialog WM_CLOSE - opinion Pin
Shog916-Feb-06 10:32
sitebuilderShog916-Feb-06 10:32 
GeneralRe: modeless dialog WM_CLOSE - opinion Pin
23_44416-Feb-06 10:39
23_44416-Feb-06 10:39 
GeneralRe: modeless dialog WM_CLOSE - opinion Pin
Shog916-Feb-06 10:45
sitebuilderShog916-Feb-06 10:45 
GeneralRe: modeless dialog WM_CLOSE - opinion Pin
23_44416-Feb-06 11:15
23_44416-Feb-06 11:15 
GeneralRe: modeless dialog WM_CLOSE - opinion Pin
Shog916-Feb-06 11:32
sitebuilderShog916-Feb-06 11:32 
GeneralRe: modeless dialog WM_CLOSE - opinion Pin
23_44416-Feb-06 11:49
23_44416-Feb-06 11:49 
GeneralRe: modeless dialog WM_CLOSE - opinion Pin
Shog916-Feb-06 12:25
sitebuilderShog916-Feb-06 12:25 

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.