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

.NET (Core and Framework)

 
AnswerRe: threading Pin
Patrick Etc.10-Oct-07 10:05
Patrick Etc.10-Oct-07 10:05 
AnswerRe: threading Pin
Luc Pattyn10-Oct-07 10:54
sitebuilderLuc Pattyn10-Oct-07 10:54 
GeneralRe: threading Pin
steve_a_p10-Oct-07 11:19
steve_a_p10-Oct-07 11:19 
GeneralRe: threading Pin
Patrick Etc.10-Oct-07 10:02
Patrick Etc.10-Oct-07 10:02 
GeneralRe: threading Pin
Luc Pattyn10-Oct-07 11:02
sitebuilderLuc Pattyn10-Oct-07 11:02 
GeneralRe: threading Pin
steve_a_p10-Oct-07 11:09
steve_a_p10-Oct-07 11:09 
GeneralRe: threading Pin
Robert Rohde10-Oct-07 11:38
Robert Rohde10-Oct-07 11:38 
GeneralRe: threading Pin
Patrick Etc.10-Oct-07 11:47
Patrick Etc.10-Oct-07 11:47 
Robert Rohde wrote:
So just because a better threading lib exists in C one shouldn't use threading in .NET? Weird logic. I've used multithreading in dozens of situations in .NET and although it is not "aware" of the number of physical processors/cores it generally does a good job. Why? Because the operating system takes care of it.


Of course not. I was responding specifically in the context of counting threads based on the number of processors you have. That's pointless in .NET.

Yes, the OS will do some thread parallelization for you, but if you actively want to use those processors you have to use lower level languages with specialized libraries.

There's nothing wrong with threading, but you have to understand your problem and the limitations of various solutions before you start creating tons of threads thinking it will solve your problem, as Luc accurately points out.





The early bird who catches the worm works for someone who comes in late and owns the worm farm. -- Travis McGee

GeneralRe: threading Pin
Robert Rohde10-Oct-07 11:59
Robert Rohde10-Oct-07 11:59 
GeneralRe: threading Pin
Patrick Etc.10-Oct-07 12:32
Patrick Etc.10-Oct-07 12:32 
GeneralRe: threading Pin
led mike12-Oct-07 5:03
led mike12-Oct-07 5:03 
GeneralRe: threading Pin
Patrick Etc.12-Oct-07 6:06
Patrick Etc.12-Oct-07 6:06 
Questionwindows service to process SOAP call in.net2005 Pin
anumadhu9-Oct-07 23:38
anumadhu9-Oct-07 23:38 
AnswerRe: windows service to process SOAP call in.net2005 Pin
led mike10-Oct-07 6:18
led mike10-Oct-07 6:18 
QuestionRe: windows service to process SOAP call in.net2005 Pin
anumadhu10-Oct-07 22:08
anumadhu10-Oct-07 22:08 
AnswerRe: windows service to process SOAP call in.net2005 Pin
led mike11-Oct-07 5:36
led mike11-Oct-07 5:36 
AnswerRe: windows service to process SOAP call in.net2005 Pin
matee_code10-Oct-07 22:19
matee_code10-Oct-07 22:19 
AnswerRe: windows service to process SOAP call in.net2005 Pin
lmoelleb11-Oct-07 21:27
lmoelleb11-Oct-07 21:27 
QuestionWhy .NET Framework Pin
prithaa9-Oct-07 18:28
prithaa9-Oct-07 18:28 
AnswerRe: Why .NET Framework Pin
Christian Graus9-Oct-07 18:47
protectorChristian Graus9-Oct-07 18:47 
GeneralRe: Why .NET Framework Pin
originSH9-Oct-07 22:37
originSH9-Oct-07 22:37 
AnswerRe: Why .NET Framework Pin
#realJSOP10-Oct-07 3:46
professional#realJSOP10-Oct-07 3:46 
QuestionHow to use .net connect with webcam Pin
matee_code9-Oct-07 13:32
matee_code9-Oct-07 13:32 
AnswerRe: How to use .net connect with webcam Pin
Dave Kreskowiak9-Oct-07 17:18
mveDave Kreskowiak9-Oct-07 17:18 
GeneralRe: How to use .net connect with webcam Pin
matee_code10-Oct-07 17:44
matee_code10-Oct-07 17:44 

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.