0

Probably a bit of an advanced question...

How hard is it to allow for multi threading support with C#? For example, we have a motherboard that has the capability for two processors with four cores each (dual xeon quad cores). We want to dedicate one processor (or core) to calculating a task, such as vision, and the other cores to do other tasks. Is this something that is coded in C#? If so, is it different for Windows and Linux?

Many thanks to anyone who can provide information on this, or even point me in the direction to where I can find information

3
Contributors
11
Replies
12
Views
8 Years
Discussion Span
Last Post by Duki
0

Threading is incredibly simple, as sarehu says, msdn and your helpfile have some good examples

0

another quick question that I can't find the answer to.

Is multithreading different for Linux? i.e., if I write my program on a windows machine, will it run in Linux?

0

.net by default does not run on linux, mono will allow many aspects of .net to run on linux, however, you a) need the mono framework, b) need to have a number of adjustments to allow for the differences in general between unix and windows, and c) threading is different, however, Im not sure mono allows you to tell the difference..

0

ha. Ok :(

Ideally we would like to compile and run the code on a Linux box, but since we're going to be doing multithreading, I think we may just stick with XP or the like.

Am I right in thinking that we would get a greater performance boost by utilizing multithreading on windows rather than single threading on a *nix box?

0

I'm not sure what's wrong with running mono, any deficiencies will be in the mono documentation.

0

Um, linux is way superior in multi tasking than windows, you really need to read up more

0

Um, linux is way superior in multi tasking than windows, you really need to read up more

Who are you replying to? Since when did we start talking about multitasking?

0

I think there's some confusion between "Multi-threading" and "Multi-Tasking" here...

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.