| | |
Theading problem
Please support our C# advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Aug 2008
Posts: 1,158
Reputation:
Solved Threads: 136
when those others are launched, does it contain something like ?
or
C# Syntax (Toggle Plain Text)
Thread.CurrentThread.Suspend()
or
C# Syntax (Toggle Plain Text)
myThreadName.Join()
Last edited by dickersonka; Nov 18th, 2008 at 12:33 pm.
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
•
•
Join Date: Aug 2008
Posts: 1,158
Reputation:
Solved Threads: 136
the join will let you know when the thread has been completed, but will also block the calling thread (as in your case the ui is unresponsive), when waiting for the threads to complete
i'm not sure how your threads exit, but while waiting you can check either ThreadState or IsAlive
i'm not sure how your threads exit, but while waiting you can check either ThreadState or IsAlive
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
![]() |
Other Threads in the C# Forum
- Previous Thread: Xenocode Makes Apps Virtually Portable
- Next Thread: Binary Tree - Next Highest Value
| Thread Tools | Search this Thread |
.net 2007 access algorithm appportability array bitmap box c# camera check checkbox client combobox control conversion cryptographyc#winformsencryption cs4 csharp customactions database datagrid datagridview dataset datastructure date datetime degrees disabled displayingopenforms draganddrop drawing encryption enum eventcloseformc# excel file form format forms ftp function gdi+ gis image index index-error input install java list listview load math mathematics mouseclick mysql operator path photoshop picturebox pixelinversion pixels post prime programming radians regex remoting richtextbox rotation search security server setup sleep socket sql statistics stream string table text textbox thread time timer totaldays update user usercontrol validation view visual visualstudio webbrowser winforms wordautomation wpf xml






