In this tutorial I show you how to create a multi threading application to save time and improve application performance. OTHER TUTORIALS: www.Quack-Ware.com WEBSITE: www.Quack-Ware.com FORUMS www.Quack-Ware.com
A fresh look at technology.
In this tutorial I show you how to create a multi threading application to save time and improve application performance. OTHER TUTORIALS: www.Quack-Ware.com WEBSITE: www.Quack-Ware.com FORUMS www.Quack-Ware.com
Powered by Yahoo! Answers
how to stop a thread from the middle of its execution?
excellent tutorial
thank you
Nice introduction to threads…
thanks for the effort making this easy and clear
excellent tutorial, thank you!!
Each language has it’s own rules and logic, therefore one language is not really “more logical” than another. PS: I’m a former C++ coder, and unless you’re coding device drivers or other low level stuff C#’s way of doing things is often more robust and less error prone, C++/MFC’s windowing structure for example is obtuse and in my view unnecessarily complex. Just my opinion, mind you. o_0
@mindprism Another good example of what threading can have is Servers that have multiple clients. This way you can allow each one “time” on the server without having to wait on another process to finish.
@ealshabaan Yes that is what it means. Remember, threads have no speed control. There are tricks on how to add the ability though.
at 3:25, you can see that printing order (line 6and 7) has changed. does this means that the second thread finished the task of printing that particular line before the first thread, although you have started the first thread first?
ow do i get my server to talk to my clients, i have a muitl threaded server setup and can get the client data entered to appear on the server with Console.WriteLine(Encoding.ASCII.GetString(data, 0, recv));
but how do i talk back???
thanks
ow do i get my server to talk to my clients, i have a muitl threaded server setup and can get the client data entered to appear on the server with Console.WriteLine(Encoding.ASCII.GetString(data, 0, recv));
but how do i talk back???
thanks
@mindprism ah yes, that was a good interpretation!
Thank you, even though I asked it 6 months ago.
fast reply, hehe.
@imalwayswatchingu00 {But what advantages does dual threading have?}
One example:
Imagine a bank with 1000 tellers, and an application with 1 million customers that need to bank. Without threading your million customers have to stand in 1 line, with threading you can create as many lines as you want (almost).
The bank is a webservice or other asynch communication.
i havent completed a c++ book yet. but imo. i tink c++ feels easier & more logical & more power
google adsense just 500 plus blogger trainings and trafic tips
very helpfull….
very helpfull
ellerine sağlık hocam. Oldukça merak ettiğim bir konuyu basit ve güzel bir şekilde yapmışsınız.. devamı var mı acaba?
Existent Be Naughty dating benaughtyman.info
thank you nice tutorial
Thank you. It was so much helpful for me. =)
thnx.. but explain me this line………..what is occuring in NEW THREAD STAR,,,,?Thread t1 = new Thread(new ThreadStart(Mymethod) );… can v satrt new thread in another line?
where can i get the threadwork class ?
good video, my question is how do I choose HOW many threads is it good/common to have?
@BenRangel ThreadWork does not exist, it was a class he made with just some methods that do something, for demo purposes. You can add your own class with a couple of methods that print somehting in a loop (like he did), and call them on separate threads in a test console application.