Click here to Skip to main content
15,886,110 members
Home / Discussions / C#
   

C#

 
GeneralRe: C#.net expiration date Pin
kribo9-Sep-11 5:01
professionalkribo9-Sep-11 5:01 
Questionout of memory ! Pin
mersad007-Sep-11 4:34
mersad007-Sep-11 4:34 
AnswerRe: out of memory ! Pin
GParkings7-Sep-11 4:45
GParkings7-Sep-11 4:45 
AnswerRe: out of memory ! Pin
Pete O'Hanlon7-Sep-11 5:01
mvePete O'Hanlon7-Sep-11 5:01 
AnswerRe: out of memory ! Pin
#realJSOP7-Sep-11 7:23
mve#realJSOP7-Sep-11 7:23 
AnswerRe: out of memory ! Pin
Daniel.Grondal7-Sep-11 22:43
Daniel.Grondal7-Sep-11 22:43 
QuestionThread.join Pin
benams7-Sep-11 0:28
benams7-Sep-11 0:28 
AnswerRe: Thread.join PinPopular
Pete O'Hanlon7-Sep-11 0:57
mvePete O'Hanlon7-Sep-11 0:57 
Thread.Join has nothing to do with making multiple threads run together - you can think of it as a mechanism where a parent thread can join to child threads and wait until they are finished. It blocks the calling thread and waits for the other threads to finish before it continues processing.

So, why would you want to do this? Well, if your parent thread completes processing faster than it's child threads then there would be trouble if the parent thread terminated leaving the child threads running, if those child threads had to access something on the parent thread.

There is no mechanism for guaranteeing that two threads will run simultaneously - the OS is responsible for allocating threads, your application must respect the rules given to it. Plus, of course, you can only have two or more threads running together if you've got a multi-core machine.

Forgive your enemies - it messes with their heads


My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility


QuestionAre thre Mutex's that can be used in Silverlight? Pin
Xarzu6-Sep-11 7:59
Xarzu6-Sep-11 7:59 
AnswerRe: Are thre Mutex's that can be used in Silverlight? Pin
Pete O'Hanlon6-Sep-11 8:23
mvePete O'Hanlon6-Sep-11 8:23 
AnswerRe: Are thre Mutex's that can be used in Silverlight? Pin
Abhinav S6-Sep-11 19:34
Abhinav S6-Sep-11 19:34 
QuestionWhat is the Regular expression that detects a $ sign and digits in html code Pin
Member 82168286-Sep-11 7:21
Member 82168286-Sep-11 7:21 
AnswerRe: What is the Regular expression that detects a $ sign and digits in html code Pin
Pete O'Hanlon6-Sep-11 7:28
mvePete O'Hanlon6-Sep-11 7:28 
QuestionWebSocekts server! Pin
shay_lin5-Sep-11 22:07
shay_lin5-Sep-11 22:07 
QuestionCreate a web service to push messages to clients Pin
nitin_ion5-Sep-11 17:32
nitin_ion5-Sep-11 17:32 
GeneralRe: Create a web service to push messages to clients Pin
PIEBALDconsult5-Sep-11 18:53
mvePIEBALDconsult5-Sep-11 18:53 
GeneralRe: Create a web service to push messages to clients Pin
nitin_ion5-Sep-11 18:55
nitin_ion5-Sep-11 18:55 
GeneralRe: Create a web service to push messages to clients Pin
Pete O'Hanlon5-Sep-11 21:53
mvePete O'Hanlon5-Sep-11 21:53 
GeneralRe: Create a web service to push messages to clients Pin
nitin_ion6-Sep-11 0:00
nitin_ion6-Sep-11 0:00 
GeneralRe: Create a web service to push messages to clients Pin
Pete O'Hanlon6-Sep-11 0:11
mvePete O'Hanlon6-Sep-11 0:11 
GeneralRe: Create a web service to push messages to clients Pin
Roger Wright6-Sep-11 20:35
professionalRoger Wright6-Sep-11 20:35 
AnswerRe: Create a web service to push messages to clients Pin
Mehdi Gholam5-Sep-11 19:52
Mehdi Gholam5-Sep-11 19:52 
AnswerRe: Create a web service to push messages to clients Pin
BobJanova6-Sep-11 0:40
BobJanova6-Sep-11 0:40 
GeneralRe: Create a web service to push messages to clients Pin
nitin_ion6-Sep-11 0:42
nitin_ion6-Sep-11 0:42 
GeneralRe: Create a web service to push messages to clients Pin
Pete O'Hanlon6-Sep-11 0:44
mvePete O'Hanlon6-Sep-11 0:44 

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.