Click here to Skip to main content
15,893,814 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: time bomb Pin
Luc Pattyn28-Feb-09 0:38
sitebuilderLuc Pattyn28-Feb-09 0:38 
GeneralRe: time bomb Pin
Eddy Vluggen28-Feb-09 3:06
professionalEddy Vluggen28-Feb-09 3:06 
QuestionHow could I integrate a progress bar if datawriter wirtes the image at once? Pin
JUNEYT27-Feb-09 11:52
JUNEYT27-Feb-09 11:52 
AnswerRe: How could I integrate a progress bar if datawriter wirtes the image at once? Pin
Dave Kreskowiak27-Feb-09 17:46
mveDave Kreskowiak27-Feb-09 17:46 
Questionusing downloads Pin
megacharged27-Feb-09 10:57
megacharged27-Feb-09 10:57 
AnswerRe: using downloads Pin
Curtis Schlak.27-Feb-09 12:46
Curtis Schlak.27-Feb-09 12:46 
QuestionHelp spawing more then 25 threads per processor in a thread pool Pin
PoweredByOtgc27-Feb-09 10:14
PoweredByOtgc27-Feb-09 10:14 
AnswerRe: Help spawing more then 25 threads per processor in a thread pool Pin
Dave Kreskowiak27-Feb-09 10:49
mveDave Kreskowiak27-Feb-09 10:49 
With .NET 2.0 SP1, the default was changed from 25 threads per core to 250. This is not to say that using 250 is a good design. Seriously, if you think you need more than 25 threads per core running, you really need to reconsider your design. You'll be wasting so much time in context switching, it's silly.

Also, the ThreadPool throttles it's new thread creation to 2 per second once the thread count exceeds the number of cores running the threads. So, on a single core machine, it'll still take well over a minute to create all of your threads.

Now, having said all that, you can't change the MaxThreadPoolThreads limit in managed code.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Help spawing more then 25 threads per processor in a thread pool Pin
PoweredByOtgc28-Feb-09 4:57
PoweredByOtgc28-Feb-09 4:57 
QuestionCopy File From One Location To Another + Urgent + Sourabh Das Pin
Dot Net Jantu27-Feb-09 5:39
Dot Net Jantu27-Feb-09 5:39 
AnswerRe: Copy File From One Location To Another + Urgent + Sourabh Das Pin
kriskomar27-Feb-09 5:51
kriskomar27-Feb-09 5:51 
AnswerRe: Copy File From One Location To Another + Urgent + Sourabh Das Pin
Luc Pattyn27-Feb-09 6:04
sitebuilderLuc Pattyn27-Feb-09 6:04 
AnswerRe: Copy File From One Location To Another + Urgent + Sourabh Das Pin
PoweredByOtgc27-Feb-09 10:27
PoweredByOtgc27-Feb-09 10:27 
GeneralRe: Copy File From One Location To Another + Urgent + Sourabh Das Pin
Luc Pattyn27-Feb-09 11:35
sitebuilderLuc Pattyn27-Feb-09 11:35 
QuestionUpgrading VB6 to VB.net printing problem Pin
tbkfile27-Feb-09 5:08
tbkfile27-Feb-09 5:08 
AnswerRe: Upgrading VB6 to VB.net printing problem Pin
Sebastian Br.27-Feb-09 7:43
Sebastian Br.27-Feb-09 7:43 
GeneralRe: Upgrading VB6 to VB.net printing problem Pin
tbkfile27-Feb-09 18:36
tbkfile27-Feb-09 18:36 
QuestionDataset containing nullable datetime values does not like a null datetime? Pin
kriskomar27-Feb-09 4:56
kriskomar27-Feb-09 4:56 
AnswerRe: Dataset containing nullable datetime values does not like a null datetime? Pin
johnsontroye27-Feb-09 9:38
johnsontroye27-Feb-09 9:38 
GeneralRe: Dataset containing nullable datetime values does not like a null datetime? Pin
kriskomar27-Feb-09 9:59
kriskomar27-Feb-09 9:59 
AnswerRe: Dataset containing nullable datetime values does not like a null datetime? Pin
PoweredByOtgc28-Feb-09 5:07
PoweredByOtgc28-Feb-09 5:07 
GeneralRe: Dataset containing nullable datetime values does not like a null datetime? Pin
kriskomar1-Mar-09 6:00
kriskomar1-Mar-09 6:00 
GeneralRe: Dataset containing nullable datetime values does not like a null datetime? Pin
PoweredByOtgc1-Mar-09 6:32
PoweredByOtgc1-Mar-09 6:32 
GeneralRe: Dataset containing nullable datetime values does not like a null datetime? Pin
kriskomar1-Mar-09 14:58
kriskomar1-Mar-09 14:58 
GeneralRe: Dataset containing nullable datetime values does not like a null datetime? Pin
PoweredByOtgc2-Mar-09 13:56
PoweredByOtgc2-Mar-09 13:56 

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.