Its a way of running methods at the same time that other methods are
running. Normally in a single threaded application only 1 method at a time
runs, sequentially usually - so that the code executes from main, through
your code, calling methods one after the other in a top to bottom type of
approach.
Multithreaded applications provide the ability to allow numerous activities
to happen at more or less the same time, so for example the same method or
class can be invoked and can be executing many times in many threads at the
same time and not usually impact the work each is doing.
Best way to understand them is to create a small example for yourself,
theres stacks on the web.
--
Regards
John Timney
ASP.NET MVP
Microsoft Regional Director
I'm sure everyone knows that on a single processor machine, the threads don't
run "at the same time". They are time sliced such that each gets it's turn
at some processor (CPU) time depending on the thread priority.
Multithreading is using assynchronous parallel processes. Where that can be
with more or hyperthreading processors doing computercommands real parallel
and with a single processor doing the computercommands in a more sequential
way (however sliced) one by one.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.