Click here to Skip to main content
15,915,093 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
Rajasekharan Vengalil12-Jan-09 6:56
Rajasekharan Vengalil12-Jan-09 6:56 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
kiran_sr12-Jan-09 7:36
kiran_sr12-Jan-09 7:36 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
Luc Pattyn12-Jan-09 8:09
sitebuilderLuc Pattyn12-Jan-09 8:09 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
S. Senthil Kumar12-Jan-09 8:58
S. Senthil Kumar12-Jan-09 8:58 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
Rajasekharan Vengalil12-Jan-09 8:59
Rajasekharan Vengalil12-Jan-09 8:59 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
Luc Pattyn12-Jan-09 9:13
sitebuilderLuc Pattyn12-Jan-09 9:13 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
kiran_sr12-Jan-09 9:30
kiran_sr12-Jan-09 9:30 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
Rajasekharan Vengalil12-Jan-09 9:30
Rajasekharan Vengalil12-Jan-09 9:30 
I thought the developer is allowed to specify the stack size (dwStackSize parameter of CreateThread, stack_size parameter of _beginthreadex and the overload of the Thread class constructor that accepts a maxStackSize parameter). In this particular case since the actual thread creation is controlled by ThreadPool there doesn't seem to be any way of explicitly specifying the stack size for the threads created by the pool. Maybe they should have left this as a configuration parameter for ThreadPool objects - which would have been more .NETish if you like, instead of having to mess with PE headers!

--
gleat
http://blogorama.nerdworks.in[^]
--

Number Two's eyes narrowed and became what are known in the Shouting and Killing People trade as cold slits, the idea presumably being to give your opponent the impression that you have lost your glasses or are having difficulty keeping awake. Why this is frightening is an, as yet, unresolved problem. -- HHGTG


GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
S. Senthil Kumar12-Jan-09 10:06
S. Senthil Kumar12-Jan-09 10:06 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
Rajasekharan Vengalil12-Jan-09 10:12
Rajasekharan Vengalil12-Jan-09 10:12 
GeneralRe: How to change default stack size while using ThreadPool in .NET Pin
Mark Salsbery12-Jan-09 10:29
Mark Salsbery12-Jan-09 10:29 
QuestionHow To Adjust Zone Security Without The .NET Framework 2.0 Configuration tool ?? Pin
Dattatraya K11-Jan-09 21:47
Dattatraya K11-Jan-09 21:47 
AnswerRe: How To Adjust Zone Security Without The .NET Framework 2.0 Configuration tool ?? Pin
Not Active12-Jan-09 0:46
mentorNot Active12-Jan-09 0:46 
GeneralRe: How To Adjust Zone Security Without The .NET Framework 2.0 Configuration tool ?? Pin
Dattatraya K13-Jan-09 4:07
Dattatraya K13-Jan-09 4:07 
QuestionQuestion about allocation memory on the stack and on the heap in .NET framework Pin
Yanshof11-Jan-09 19:46
Yanshof11-Jan-09 19:46 
AnswerRe: Question about allocation memory on the stack and on the heap in .NET framework Pin
Not Active11-Jan-09 19:57
mentorNot Active11-Jan-09 19:57 
GeneralRe: Question about allocation memory on the stack and on the heap in .NET framework Pin
Jon Rista12-Jan-09 5:07
Jon Rista12-Jan-09 5:07 
AnswerRe: Question about allocation memory on the stack and on the heap in .NET framework Pin
N a v a n e e t h11-Jan-09 23:57
N a v a n e e t h11-Jan-09 23:57 
QuestionWMI Error: User credentials cannot be used for local connections Pin
S.Rekka11-Jan-09 19:21
S.Rekka11-Jan-09 19:21 
AnswerRe: WMI Error: User credentials cannot be used for local connections Pin
Anil_Saran5-Jul-11 1:38
Anil_Saran5-Jul-11 1:38 
QuestionHow to FIT a square image into an oval/circle (no clipping)? Pin
lti200011-Jan-09 17:12
lti200011-Jan-09 17:12 
Questionstudent database in c# Pin
sajda11-Jan-09 0:12
sajda11-Jan-09 0:12 
AnswerRe: student database in c# PinPopular
Ravi Bhavnani11-Jan-09 0:26
professionalRavi Bhavnani11-Jan-09 0:26 
JokeRe: student database in c# Pin
Wendelius11-Jan-09 2:15
mentorWendelius11-Jan-09 2:15 
GeneralRe: student database in c# Pin
Thomas Stockwell12-Jan-09 3:26
professionalThomas Stockwell12-Jan-09 3:26 

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.