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

.NET (Core and Framework)

 
GeneralRe: Batching multiple INSERTs Pin
Jörgen Sigvardsson10-Sep-09 7:09
Jörgen Sigvardsson10-Sep-09 7:09 
QuestionFundamental flaw with using multi-threading Pin
Justin Fox9-Sep-09 23:51
Justin Fox9-Sep-09 23:51 
AnswerRe: Fundamental flaw with using multi-threading Pin
Eddy Vluggen10-Sep-09 0:41
professionalEddy Vluggen10-Sep-09 0:41 
AnswerRe: Fundamental flaw with using multi-threading Pin
Pete O'Hanlon10-Sep-09 1:21
mvePete O'Hanlon10-Sep-09 1:21 
GeneralRe: Fundamental flaw with using multi-threading Pin
Justin Fox10-Sep-09 2:20
Justin Fox10-Sep-09 2:20 
GeneralRe: Fundamental flaw with using multi-threading Pin
Dave Kreskowiak10-Sep-09 4:57
mveDave Kreskowiak10-Sep-09 4:57 
GeneralRe: Fundamental flaw with using multi-threading Pin
Justin Fox10-Sep-09 5:26
Justin Fox10-Sep-09 5:26 
GeneralRe: Fundamental flaw with using multi-threading Pin
molesworth10-Sep-09 7:23
molesworth10-Sep-09 7:23 
I don't think it's a matter of "turning a blind eye" to potential problems. This is where proper mentoring and supervision come in, along with design reviews, code reviews, checkin buddies, unit tests, continuous integration etc. etc. In fact, with modern approaches to design and development, it's a lot easier to produce reliable multi-threaded systems than it was say 20 or 30 years ago.

To use a simile, it's like building a suspension bridge - you make sure the designs are checked and re-checked, and that calculations and simulations run multiple times. Or, if you want to compare the lone developer mode, if you're building a garden shed, you'll make sure it's put together properly, step by step.

Like it or not multi-threading is here to stay[1] and it really is the only way to build properly interactive and/or networked applications. The project (very large project) I'm on at the moment is making extensive use of threading and we very seldom have any problems due to it - mostly problems arise within threads. Getting it right is a matter of good design and good control over how the system is put together.

In fact, nearly everything I've worked on over the years has been multi-threaded / parallel-processing, and I reckon, as with the current job, inter-process problems have been in a very small minority.

OK, threading can bite you unexpectedly, but just remember "let's be careful out there"...


[1] "here to stay" - was it ever away? Multi-threading has been around since pretty much the beginning of computing, and even interrupt servicing could be thought of as a separate thread.

There are three kinds of people in the world - those who can count and those who can't...

GeneralRe: Fundamental flaw with using multi-threading Pin
Justin Fox10-Sep-09 8:05
Justin Fox10-Sep-09 8:05 
GeneralRe: Fundamental flaw with using multi-threading Pin
Dave Kreskowiak10-Sep-09 13:51
mveDave Kreskowiak10-Sep-09 13:51 
GeneralRe: Fundamental flaw with using multi-threading Pin
Dave Kreskowiak10-Sep-09 13:47
mveDave Kreskowiak10-Sep-09 13:47 
GeneralRe: Fundamental flaw with using multi-threading Pin
Richard MacCutchan10-Sep-09 7:30
mveRichard MacCutchan10-Sep-09 7:30 
GeneralRe: Fundamental flaw with using multi-threading Pin
Justin Fox10-Sep-09 7:52
Justin Fox10-Sep-09 7:52 
AnswerRe: Fundamental flaw with using multi-threading Pin
Justin Fox10-Sep-09 9:21
Justin Fox10-Sep-09 9:21 
GeneralRe: Fundamental flaw with using multi-threading Pin
Luc Pattyn10-Sep-09 10:06
sitebuilderLuc Pattyn10-Sep-09 10:06 
GeneralRe: Fundamental flaw with using multi-threading Pin
Richard MacCutchan11-Sep-09 0:37
mveRichard MacCutchan11-Sep-09 0:37 
AnswerIA64 makes me paranoid Pin
supercat911-Sep-09 7:55
supercat911-Sep-09 7:55 
GeneralRe: IA64 makes me paranoid Pin
harold aptroot11-Sep-09 8:06
harold aptroot11-Sep-09 8:06 
AnswerRe: Fundamental flaw with using multi-threading Pin
Daniel Grunwald14-Sep-09 11:23
Daniel Grunwald14-Sep-09 11:23 
QuestionRegistering .NET DLL without regasm Pin
hasan03050699-Sep-09 19:28
hasan03050699-Sep-09 19:28 
AnswerRe: Registering .NET DLL without regasm Pin
Dave Kreskowiak10-Sep-09 4:47
mveDave Kreskowiak10-Sep-09 4:47 
Questionhelp me. Pin
murktinez9-Sep-09 18:49
murktinez9-Sep-09 18:49 
AnswerRe: help me. Pin
Henry Minute10-Sep-09 2:32
Henry Minute10-Sep-09 2:32 
GeneralRe: help me. Pin
Richard MacCutchan10-Sep-09 7:32
mveRichard MacCutchan10-Sep-09 7:32 
AnswerRe: help me. Pin
Dave Kreskowiak10-Sep-09 4:45
mveDave Kreskowiak10-Sep-09 4:45 

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.