Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Project Help Please Pin
Phil J Pearson17-Jan-06 2:51
Phil J Pearson17-Jan-06 2:51 
GeneralRe: Project Help Please Pin
Door Mat18-Jan-06 8:17
Door Mat18-Jan-06 8:17 
QuestionFile Sharing question Pin
Shay Harel16-Jan-06 10:08
Shay Harel16-Jan-06 10:08 
AnswerRe: File Sharing question Pin
David Crow16-Jan-06 10:20
David Crow16-Jan-06 10:20 
GeneralRe: File Sharing question Pin
Shay Harel16-Jan-06 10:28
Shay Harel16-Jan-06 10:28 
QuestionIncrease OS's maximum thread count? Pin
Todd Smith16-Jan-06 7:51
Todd Smith16-Jan-06 7:51 
AnswerRe: Increase OS's maximum thread count? Pin
Nish Nishant16-Jan-06 8:41
sitebuilderNish Nishant16-Jan-06 8:41 
GeneralRe: Increase OS's maximum thread count? Pin
Todd Smith16-Jan-06 8:54
Todd Smith16-Jan-06 8:54 
Nishant Sivakumar wrote:
The issue is that, since a process has only 2 GB of memory, and since each thread attempts to create a 1 MB stack by default, you are limited to about 2000 threads (maximum) per process.

Use the /STACK linker option to reduce the default thread stack size, and you'll be able to create a bigger number of threads.


Ah that's it. Decreasing the stack sized helped. I guess I'll have to run multiple processes to get more threads.

thx



Todd Smith
GeneralRe: Increase OS's maximum thread count? Pin
Nish Nishant16-Jan-06 8:57
sitebuilderNish Nishant16-Jan-06 8:57 
AnswerRe: Increase OS's maximum thread count? Pin
Stephen Hewitt16-Jan-06 11:49
Stephen Hewitt16-Jan-06 11:49 
GeneralRe: Increase OS's maximum thread count? Pin
Nish Nishant16-Jan-06 12:00
sitebuilderNish Nishant16-Jan-06 12:00 
GeneralRe: Increase OS's maximum thread count? Pin
Stephen Hewitt16-Jan-06 12:08
Stephen Hewitt16-Jan-06 12:08 
QuestionPreventing change of key fields in CRecordView? Pin
Anders Gustafsson16-Jan-06 7:42
Anders Gustafsson16-Jan-06 7:42 
QuestionRe: Preventing change of key fields in CRecordView? Pin
David Crow16-Jan-06 10:19
David Crow16-Jan-06 10:19 
AnswerRe: Preventing change of key fields in CRecordView? Pin
Anders Gustafsson16-Jan-06 20:23
Anders Gustafsson16-Jan-06 20:23 
GeneralRe: Preventing change of key fields in CRecordView? Pin
David Crow17-Jan-06 3:37
David Crow17-Jan-06 3:37 
GeneralRe: Preventing change of key fields in CRecordView? Pin
Anders Gustafsson17-Jan-06 4:52
Anders Gustafsson17-Jan-06 4:52 
GeneralRe: Preventing change of key fields in CRecordView? Pin
David Crow17-Jan-06 7:49
David Crow17-Jan-06 7:49 
GeneralRe: Preventing change of key fields in CRecordView? Pin
Anders Gustafsson17-Jan-06 8:49
Anders Gustafsson17-Jan-06 8:49 
GeneralRe: Preventing change of key fields in CRecordView? Pin
David Crow17-Jan-06 8:53
David Crow17-Jan-06 8:53 
GeneralRe: Preventing change of key fields in CRecordView? Pin
Anders Gustafsson17-Jan-06 9:06
Anders Gustafsson17-Jan-06 9:06 
AnswerRe: Preventing change of key fields in CRecordView? Pin
Phil J Pearson17-Jan-06 2:55
Phil J Pearson17-Jan-06 2:55 
GeneralRe: Preventing change of key fields in CRecordView? Pin
Anders Gustafsson17-Jan-06 3:02
Anders Gustafsson17-Jan-06 3:02 
GeneralRe: Preventing change of key fields in CRecordView? Pin
Phil J Pearson17-Jan-06 6:25
Phil J Pearson17-Jan-06 6:25 
GeneralRe: Preventing change of key fields in CRecordView? Pin
Anders Gustafsson17-Jan-06 7:09
Anders Gustafsson17-Jan-06 7:09 

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.