Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# and Microsoft OutLook Express 6.0 Pin
Luc Pattyn20-May-09 2:49
sitebuilderLuc Pattyn20-May-09 2:49 
QuestionGeocoding Pin
shraddha IT19-May-09 18:06
shraddha IT19-May-09 18:06 
AnswerRe: Geocoding Pin
Dave Kreskowiak20-May-09 2:11
mveDave Kreskowiak20-May-09 2:11 
QuestionMultithreading is faster? Pin
Quake2Player19-May-09 17:53
Quake2Player19-May-09 17:53 
AnswerRe: Multithreading is faster? Pin
mav.northwind19-May-09 18:43
mav.northwind19-May-09 18:43 
AnswerRe: Multithreading is faster? Pin
Luis Alonso Ramos19-May-09 18:52
Luis Alonso Ramos19-May-09 18:52 
AnswerRe: Multithreading is faster? Pin
Dave Kreskowiak20-May-09 2:14
mveDave Kreskowiak20-May-09 2:14 
AnswerRe: Multithreading is faster? Pin
Luc Pattyn20-May-09 2:58
sitebuilderLuc Pattyn20-May-09 2:58 
Hi,

if two or more of the jobs (f1...f4) have an execution time that is (or may be, depending on circumstances) noticeable for the user (i.e. more than 30msec), put them in separate threads/ThreadPool/BackgroundWorker so they can
1) execute in parallel (when your system has hyperthreading, or multiple cores, or multiple processors)
2) self-organize their execution (i.e. when one has to wait some other can continue)

OTOH if you do it all sequentially and your Task Manager shows the CPU is fully loaded (which means there are no waits and the number of cores does not exceed the number of running threads) then you won't gain anything by adding threads.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: Multithreading is faster? Pin
Quake2Player20-May-09 3:12
Quake2Player20-May-09 3:12 
GeneralRe: Multithreading is faster? Pin
Luc Pattyn20-May-09 3:40
sitebuilderLuc Pattyn20-May-09 3:40 
QuestionButtons appear differently in Vista than in XP (problem) Pin
sodevrom19-May-09 14:54
sodevrom19-May-09 14:54 
AnswerRe: Buttons appear differently in Vista than in XP (problem) Pin
Luis Alonso Ramos19-May-09 18:54
Luis Alonso Ramos19-May-09 18:54 
AnswerRe: Buttons appear differently in Vista than in XP (problem) Pin
saanj19-May-09 19:24
saanj19-May-09 19:24 
GeneralRe: Buttons appear differently in Vista than in XP (problem) Pin
sodevrom20-May-09 5:27
sodevrom20-May-09 5:27 
Questiondatagridview getting values Pin
sakis2419-May-09 13:21
sakis2419-May-09 13:21 
AnswerRe: datagridview getting values [modified] Pin
Christian Graus19-May-09 13:31
protectorChristian Graus19-May-09 13:31 
GeneralRe: datagridview getting values Pin
sakis2419-May-09 13:56
sakis2419-May-09 13:56 
GeneralRe: datagridview getting values Pin
sakis2419-May-09 14:21
sakis2419-May-09 14:21 
GeneralRe: datagridview getting values Pin
Mycroft Holmes19-May-09 14:34
professionalMycroft Holmes19-May-09 14:34 
GeneralRe: datagridview getting values Pin
sakis2419-May-09 14:50
sakis2419-May-09 14:50 
GeneralRe: datagridview getting values Pin
Mycroft Holmes19-May-09 15:38
professionalMycroft Holmes19-May-09 15:38 
QuestionDistributed Hosting Pin
Matt Cavanagh19-May-09 12:05
Matt Cavanagh19-May-09 12:05 
AnswerRe: Distributed Hosting Pin
Matty2219-May-09 15:48
Matty2219-May-09 15:48 
GeneralRe: Distributed Hosting Pin
Matt Cavanagh19-May-09 20:39
Matt Cavanagh19-May-09 20:39 
QuestionIs it possible to Convert from Windows Application to a Mobile Device Application? Pin
Star0919-May-09 11:35
Star0919-May-09 11: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.