Click here to Skip to main content
15,889,176 members
Home / Discussions / C#
   

C#

 
GeneralRe: Thread.Join Pin
Endien16-Jun-10 6:52
Endien16-Jun-10 6:52 
GeneralRe: Thread.Join Pin
Adam R Harris16-Jun-10 8:18
Adam R Harris16-Jun-10 8:18 
GeneralRe: Thread.Join Pin
Endien16-Jun-10 8:26
Endien16-Jun-10 8:26 
GeneralRe: Thread.Join Pin
Adam R Harris16-Jun-10 8:46
Adam R Harris16-Jun-10 8:46 
GeneralRe: Thread.Join Pin
Endien16-Jun-10 8:57
Endien16-Jun-10 8:57 
AnswerRe: Thread.Join Pin
David Skelly16-Jun-10 6:47
David Skelly16-Jun-10 6:47 
GeneralRe: Thread.Join Pin
Endien16-Jun-10 8:35
Endien16-Jun-10 8:35 
AnswerRe: Thread.Join Pin
Luc Pattyn16-Jun-10 6:57
sitebuilderLuc Pattyn16-Jun-10 6:57 
if you want a number of operations to be executed in sequence, but without freezing your GUI, you need exactly one extra thread (Thread, ThreadPool thread, BackgroundWorker) that executes those operations one after the other.

And your GUI thread should never wait on them (nor on anything else) and not call Thread.Join(); instead you should keep your GUI active, however also disable the features you want disabled for as long as the other thread is working for you.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use < PRE > tags for code snippets, it preserves indentation, and improves readability.


GeneralRe: Thread.Join Pin
Endien16-Jun-10 7:30
Endien16-Jun-10 7:30 
GeneralRe: Thread.Join Pin
Luc Pattyn16-Jun-10 7:34
sitebuilderLuc Pattyn16-Jun-10 7:34 
QuestionLength of a column of an SQL Table Pin
Sebastian T Xavier16-Jun-10 5:58
Sebastian T Xavier16-Jun-10 5:58 
AnswerRe: Length of a column of an SQL Table Pin
Adam R Harris16-Jun-10 6:43
Adam R Harris16-Jun-10 6:43 
AnswerRe: Length of a column of an SQL Table Pin
PIEBALDconsult16-Jun-10 13:29
mvePIEBALDconsult16-Jun-10 13:29 
GeneralRe: Length of a column of an SQL Table Pin
Sebastian T Xavier16-Jun-10 22:52
Sebastian T Xavier16-Jun-10 22:52 
QuestionToolStrip Background Color -- How do I make it the default color? Pin
Susan Crayne16-Jun-10 5:50
Susan Crayne16-Jun-10 5:50 
AnswerRe: ToolStrip Background Color -- How do I make it the default color? Pin
Adam R Harris16-Jun-10 6:40
Adam R Harris16-Jun-10 6:40 
GeneralRe: ToolStrip Background Color -- How do I make it the default color? Pin
Susan Crayne16-Jun-10 7:29
Susan Crayne16-Jun-10 7:29 
GeneralRe: ToolStrip Background Color -- How do I make it the default color? Pin
Adam R Harris16-Jun-10 8:35
Adam R Harris16-Jun-10 8:35 
GeneralRe: ToolStrip Background Color -- How do I make it the default color? Pin
Susan Crayne16-Jun-10 10:37
Susan Crayne16-Jun-10 10:37 
GeneralRe: ToolStrip Background Color -- How do I make it the default color? Pin
Adam R Harris16-Jun-10 12:17
Adam R Harris16-Jun-10 12:17 
GeneralRe: ToolStrip Background Color -- How do I make it the default color? Pin
Susan Crayne17-Jun-10 7:41
Susan Crayne17-Jun-10 7:41 
GeneralRe: ToolStrip Background Color -- How do I make it the default color? Pin
Susan Crayne17-Jun-10 9:56
Susan Crayne17-Jun-10 9:56 
Questionbest way for onlne meeting Pin
Jassim Rahma16-Jun-10 5:10
Jassim Rahma16-Jun-10 5:10 
AnswerRe: best way for onlne meeting Pin
Ravi Bhavnani16-Jun-10 6:09
professionalRavi Bhavnani16-Jun-10 6:09 
AnswerRe: best way for onlne meeting Pin
Luc Pattyn16-Jun-10 6:22
sitebuilderLuc Pattyn16-Jun-10 6:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.