Print
Add To Favorites
Email To Friend
Rate This Article
|
Multithreading with an Example of .NET Application
|
by Sandeep Acharya
Feedback
|
Average Rating:  
Views (Total / Last 10 Days):
37935/
811
|
|
|
|
| Conclusion |
The multithreading is something that can be either a wish or
a curse (dual role). It all depends on how efficiently the developer uses this
in his application. My guess is that by now you understand how this can play
the dual role. So please be cautious while going for this fellow so that you can
keep developing powerful applications.
|
|
|
|
|
Article Feedback
User Comments
Title:
Nice Article
Name:
Jignesh Patel
Date:
8/19/2008 9:54:41 PM
Comment:
Very nice ..easy to understand for beginners.. Thanks..
|
Title:
RE: It won't work
Name:
Ibrahim mohsen
Date:
5/22/2008 9:48:07 AM
Comment:
you shouldn't access any controls inside threads
you may make flag and in the end of thread method raise this flag and make timer to check if this flag is raised.
if it is raised access what you need of controls
|
Title:
It won't work
Name:
Abhishek
Date:
4/28/2008 3:58:57 PM
Comment:
Cross-thread operation not valid: Control 'comboBox2' accessed from a thread other than the thread it was created on.
I'm getting this error. I'm not able to do the multi-threading in any way on windows systems. Anybody have any working sample/example?
|
Title:
Shallow Coverage
Name:
ApuDeb
Date:
4/26/2008 2:17:48 AM
Comment:
Hello Sandeep, I found the coverage of the topic shallow and found a lot of room to improve it.
|
Title:
kill a thread that is spawned by another process
Name:
Mia
Date:
1/24/2008 3:44:06 PM
Comment:
I have an app that starts a thread. The threads opens a new aspx page and runs a process to fill the page with data. The currentThread in the new aspx page is the currentThreadID of the app and not the threadID of the new thread. How can I kill the new thread from the new aspx page. if I just kill the currentThread, it will shut down the whole app.
|
Title:
Very Simple
Name:
Abdulla Hussein
Date:
9/28/2007 5:58:50 PM
Comment:
Very Simple Articals , and it is help me to understanding MultiThreading in a nice way . Thanks :)
|
Title:
Multithread
Name:
Rajesh
Date:
4/4/2007 2:18:12 AM
Comment:
Nice article
|
Title:
need help
Name:
Dhananjay k
Date:
3/21/2007 8:32:20 AM
Comment:
hi,i am trying to make online multiplayer game(card game like poker)now in current state the game is almost completed and in LAN it working fine. but whn i try to use online database(ie fm remote db server) the game sleeps can anyone suggest me hw can i solve the prob. ( using vb.net and sql server 2000)
|
Title:
possibility
Name:
balaji
Date:
3/16/2007 7:22:59 AM
Comment:
i want to move multiple objects and , iwant to see at run time those actions in asp.net 2005 version
|
Title:
answers to questions
Name:
KraGiE
Date:
2/13/2007 6:44:19 AM
Comment:
First off, this is a pretty good beginners look at multithreading in .net. Would be nice to see more low level info, and practical do's for threading.
1) annie xavier if you're only using one thread, it would probably be better not to sleep it. However, it all depends on the scenario itself. Can you use a timer and/or an event callback that will trigger your working thread to start?
2) Eman Typical problem with debugging multithreaded applications. Get used to utilizing thread names, and conditional breakpoints. you can also use windbg if you've learned how already.
|
Title:
Doubt
Name:
annie xavier
Date:
2/7/2007 4:52:49 AM
Comment:
i am not using threads in my application. Now in my application i need to wait for soemtime even before i execute a piece of code. Is it ok if i specify thread.sleep in the main thread itself?
|
Title:
there is a proplem
Name:
Eman
Date:
1/28/2007 5:39:24 AM
Comment:
i have a proplem that wehen i run a project motr than once thread dosen't work unless i debug it line by line by using breakpoint why???????????????????? please give me answer by mail orin this page quickly thanks
|
Title:
Hi
Name:
Padmapolisetti
Date:
1/11/2007 4:35:46 AM
Comment:
Hello, Ur material helped me a lot in learning about the threads. can u provide some more material on threads in depth.
|
Title:
hello
Name:
hassan hayek
Date:
11/4/2006 2:27:32 PM
Comment:
thanks
|
Title:
good
Name:
Sandeep Acharya
Date:
10/24/2006 5:37:25 AM
Comment:
good
|
Title:
jj
Name:
ashish
Date:
10/23/2006 11:14:19 PM
Comment:
ur material is very good n m very satisfied n got new things from ur sites everything is worhty for me
|
|
Product Spotlight
|
|
|