Click here to Skip to main content
15,900,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDCom Pin
pardis26-Mar-05 0:58
pardis26-Mar-05 0:58 
Generalconstructor and copy constructor Pin
bobi_zcl26-Mar-05 0:03
bobi_zcl26-Mar-05 0:03 
GeneralRe: constructor and copy constructor Pin
toxcct26-Mar-05 1:00
toxcct26-Mar-05 1:00 
GeneralRe: constructor and copy constructor Pin
Michael Dunn26-Mar-05 9:49
sitebuilderMichael Dunn26-Mar-05 9:49 
Generalpentium IV bug Pin
violantly happy25-Mar-05 23:08
sussviolantly happy25-Mar-05 23:08 
GeneralRe: pentium IV bug Pin
Antony M Kancidrowski26-Mar-05 14:39
Antony M Kancidrowski26-Mar-05 14:39 
GeneralRe: pentium IV bug Pin
jidelnistul26-Mar-05 22:15
jidelnistul26-Mar-05 22:15 
GeneralRe: pentium IV bug Pin
Antony M Kancidrowski27-Mar-05 6:40
Antony M Kancidrowski27-Mar-05 6:40 
It would seem that you have a bug in your program that you need to fix. It is pure luck that you do not see it on AMD processors. Altering the environment may mask the problem on the machines you are able to test on though this is not a guaranteed solution in general.

From your description of what you are doing here are a few tips:

Your suggestion of loading the data into the thread that you are using it in is a good one. One thread accessing the data is always easiest.

When accessing data across threads there is need to ensure that only one thread can use the data at any one time (serialize data access). One way to achieve this is to use critical sections.

Do not allocate memory in one thread and clean it up in another. It is far easier to manage memory allocation / deallocation in the same thread.

If all else fails, there are many articles out there about multi-threaded applications programming. You will probably find a few here at CP.

Ant.

I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return!
- David Walliams (Little Britain)

GeneralGDI+ Simple Help me Pin
Anand for every one25-Mar-05 21:34
Anand for every one25-Mar-05 21:34 
Questionwhat the header file for my backpropagation program? Pin
conniepooh25-Mar-05 19:31
conniepooh25-Mar-05 19:31 
QuestionHow to copy a File to another place using C++ Pin
pubududilena25-Mar-05 17:39
pubududilena25-Mar-05 17:39 
AnswerRe: How to copy a File to another place using C++ Pin
Anthony_Yio25-Mar-05 18:21
Anthony_Yio25-Mar-05 18:21 
AnswerRe: How to copy a File to another place using C++ Pin
David Crow26-Mar-05 7:24
David Crow26-Mar-05 7:24 
QuestionUsing XP's built-in text-to-speech functionality? Pin
IGx8925-Mar-05 17:29
IGx8925-Mar-05 17:29 
QuestionRead 3DS file for create character animation - how to ? Pin
sonla25-Mar-05 16:57
sonla25-Mar-05 16:57 
AnswerRe: Read 3DS file for create character animation - how to ? Pin
MMansonFan2529-Mar-05 23:14
MMansonFan2529-Mar-05 23:14 
GeneralRe: Read 3DS file for create character animation - how to ? Pin
sonla29-Mar-05 23:25
sonla29-Mar-05 23:25 
GeneralInterlocked Functions Pin
Obi Wan 225-Mar-05 15:21
Obi Wan 225-Mar-05 15:21 
GeneralRe: Interlocked Functions Pin
cmk25-Mar-05 16:35
cmk25-Mar-05 16:35 
GeneralRe: Interlocked Functions Pin
Obi Wan 225-Mar-05 17:36
Obi Wan 225-Mar-05 17:36 
GeneralRe: Interlocked Functions Pin
cmk25-Mar-05 19:15
cmk25-Mar-05 19:15 
GeneralRe: Interlocked Functions Pin
Obi Wan 225-Mar-05 22:05
Obi Wan 225-Mar-05 22:05 
GeneralRe: Interlocked Functions Pin
cmk25-Mar-05 23:21
cmk25-Mar-05 23:21 
GeneralRe: Interlocked Functions Pin
Obi Wan 226-Mar-05 1:57
Obi Wan 226-Mar-05 1:57 
GeneralRe: Interlocked Functions Pin
Obi Wan 230-Oct-05 9:24
Obi Wan 230-Oct-05 9:24 

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.