Click here to Skip to main content
15,896,450 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multi threading Pin
Luc Pattyn29-Nov-07 1:44
sitebuilderLuc Pattyn29-Nov-07 1:44 
GeneralRe: Multi threading Pin
Jothi.G8129-Nov-07 1:48
Jothi.G8129-Nov-07 1:48 
GeneralRe: Multi threading Pin
Cedric Moonen29-Nov-07 1:56
Cedric Moonen29-Nov-07 1:56 
QuestionRe: Multi threading Pin
David Crow29-Nov-07 3:36
David Crow29-Nov-07 3:36 
GeneralRe: Multi threading Pin
led mike29-Nov-07 5:19
led mike29-Nov-07 5:19 
AnswerRe: Multi threading Pin
KarstenK29-Nov-07 2:24
mveKarstenK29-Nov-07 2:24 
AnswerRe: Multi threading Pin
Randor 29-Nov-07 4:20
professional Randor 29-Nov-07 4:20 
GeneralRe: Multi threading Pin
Roger Stoltz29-Nov-07 4:29
Roger Stoltz29-Nov-07 4:29 
Randor wrote:
The parent process is probably using the remaining memory. Which means you are at the limit of addressable memory per process.


Very true David.
This also explains why he gets an access violation: he's dereferencing a null-pointer that he probably got when trying to allocate memory, but since there's no more memory he didn't get any and he didn't bother to check.

Regarding your advice of how to create more threads for the process, I doubt it would help since he apparently doesn't have a clue of how many threads he creates. He's probably got a routine that creates new threads forever until it fails. Showing him how to be able to create more threads only postpones the crash.
Tomorrow you'll find a new post asking why his application crashed after it has created ~3.900 threads.... Wink | ;)


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown

QuestionCMyView post a message for CMyApp to process Pin
followait29-Nov-07 1:07
followait29-Nov-07 1:07 
AnswerRe: CMyView post a message for CMyApp to process Pin
Nelek29-Nov-07 1:37
protectorNelek29-Nov-07 1:37 
GeneralRe: CMyView post a message for CMyApp to process Pin
followait29-Nov-07 3:17
followait29-Nov-07 3:17 
Questionincluding vector header Pin
Schehaider_Aymen29-Nov-07 1:05
Schehaider_Aymen29-Nov-07 1:05 
QuestionRe: including vector header Pin
Maximilien29-Nov-07 1:12
Maximilien29-Nov-07 1:12 
AnswerRe: including vector header Pin
Schehaider_Aymen29-Nov-07 1:16
Schehaider_Aymen29-Nov-07 1:16 
GeneralRe: including vector header Pin
toxcct29-Nov-07 1:27
toxcct29-Nov-07 1:27 
GeneralRe: including vector header Pin
Schehaider_Aymen29-Nov-07 1:33
Schehaider_Aymen29-Nov-07 1:33 
GeneralRe: including vector header [modified] Pin
toxcct29-Nov-07 1:40
toxcct29-Nov-07 1:40 
GeneralRe: including vector header Pin
Nelek29-Nov-07 23:40
protectorNelek29-Nov-07 23:40 
GeneralRe: including vector header Pin
Jijo.Raj29-Nov-07 1:32
Jijo.Raj29-Nov-07 1:32 
GeneralRe: including vector header Pin
toxcct29-Nov-07 1:35
toxcct29-Nov-07 1:35 
GeneralRe: including vector header Pin
Schehaider_Aymen29-Nov-07 1:39
Schehaider_Aymen29-Nov-07 1:39 
GeneralRe: including vector header Pin
toxcct29-Nov-07 1:43
toxcct29-Nov-07 1:43 
GeneralRe: including vector header Pin
Schehaider_Aymen29-Nov-07 1:36
Schehaider_Aymen29-Nov-07 1:36 
GeneralRe: including vector header Pin
toxcct29-Nov-07 1:44
toxcct29-Nov-07 1:44 
GeneralRe: including vector header Pin
Schehaider_Aymen29-Nov-07 1:49
Schehaider_Aymen29-Nov-07 1:49 

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.