Click here to Skip to main content
15,892,161 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
lyuabe29-Jul-06 5:47
lyuabe29-Jul-06 5:47 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
Stephen Hewitt29-Jul-06 16:33
Stephen Hewitt29-Jul-06 16:33 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
lyuabe30-Jul-06 15:56
lyuabe30-Jul-06 15:56 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
Stephen Hewitt31-Jul-06 1:43
Stephen Hewitt31-Jul-06 1:43 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
lyuabe31-Jul-06 15:43
lyuabe31-Jul-06 15:43 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
lyuabe2-Aug-06 21:22
lyuabe2-Aug-06 21:22 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
Stephen Hewitt2-Aug-06 21:43
Stephen Hewitt2-Aug-06 21:43 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
lyuabe2-Aug-06 22:28
lyuabe2-Aug-06 22:28 
Humm.. I was about to ask why one of my two threads was finishing the job much before the other (they are performing the same task, but on separate memory spaces, so no lag due to access to shared ressources). Then I realized it was because I used a (stupid) while to wait for some bool flags in each thread to be set to true, and the laggy thread was running on the same core than the main program. That's why it was slown down. Now I'm using Events to signal the state of the thread, using CreateEvent, SetEvent and ResetEvent. I have the same crashing issue on the AMD proc Frown | :( . It runs fine on the Intel laptop, but crashes on the AMD (both with RELEASE EXEs). (if you have suggestions, they are welcome...)

Anyway, I am now wondering if these multithread functions _beginthread, etc. are portable to other platforms (i.e. is that standard C++)??
GeneralRe: Help needed: another strange calloc/malloc issue Pin
lyuabe2-Aug-06 22:55
lyuabe2-Aug-06 22:55 
General[SOLVED] Re: Help needed: another strange calloc/malloc issue Pin
lyuabe2-Aug-06 23:36
lyuabe2-Aug-06 23:36 
QuestionCommunication between propertypages Pin
vc++_fragrance21-Jul-06 0:13
vc++_fragrance21-Jul-06 0:13 
AnswerRe: Communication between propertypages Pin
ThatsAlok21-Jul-06 0:38
ThatsAlok21-Jul-06 0:38 
AnswerRe: Communication between propertypages Pin
ThatsAlok21-Jul-06 0:38
ThatsAlok21-Jul-06 0:38 
GeneralRe: Communication between propertypages Pin
vc++_fragrance21-Jul-06 0:51
vc++_fragrance21-Jul-06 0:51 
GeneralRe: Communication between propertypages Pin
prasad_som21-Jul-06 3:12
prasad_som21-Jul-06 3:12 
GeneralRe: Communication between propertypages Pin
vc++_fragrance21-Jul-06 5:00
vc++_fragrance21-Jul-06 5:00 
QuestionList files a workstation has open on the network Pin
Richard Ernstberger20-Jul-06 23:42
Richard Ernstberger20-Jul-06 23:42 
AnswerRe: List files a workstation has open on the network Pin
ThatsAlok21-Jul-06 0:05
ThatsAlok21-Jul-06 0:05 
GeneralRe: List files a workstation has open on the network Pin
David Crow21-Jul-06 3:17
David Crow21-Jul-06 3:17 
GeneralRe: List files a workstation has open on the network Pin
ThatsAlok21-Jul-06 3:20
ThatsAlok21-Jul-06 3:20 
GeneralRe: List files a workstation has open on the network Pin
Richard Ernstberger23-Jul-06 22:17
Richard Ernstberger23-Jul-06 22:17 
Question64 bit Crc Polynomial ? Pin
Nibu babu thomas20-Jul-06 23:12
Nibu babu thomas20-Jul-06 23:12 
AnswerRe: 64 bit Crc Polynomial ? Pin
Programm3r20-Jul-06 23:27
Programm3r20-Jul-06 23:27 
GeneralRe: 64 bit Crc Polynomial ? Pin
Nibu babu thomas20-Jul-06 23:30
Nibu babu thomas20-Jul-06 23:30 
JokeRe: 64 bit Crc Polynomial ? Pin
Programm3r20-Jul-06 23:35
Programm3r20-Jul-06 23:35 

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.