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

C#

 
GeneralRe: find solution for deadlock Pin
numeracy11-Apr-12 0:47
numeracy11-Apr-12 0:47 
GeneralRe: find solution for deadlock Pin
Pete O'Hanlon11-Apr-12 0:51
mvePete O'Hanlon11-Apr-12 0:51 
GeneralRe: find solution for deadlock Pin
numeracy11-Apr-12 1:00
numeracy11-Apr-12 1:00 
GeneralRe: find solution for deadlock Pin
Pete O'Hanlon11-Apr-12 1:40
mvePete O'Hanlon11-Apr-12 1:40 
GeneralRe: find solution for deadlock Pin
numeracy11-Apr-12 1:05
numeracy11-Apr-12 1:05 
GeneralRe: find solution for deadlock Pin
Pete O'Hanlon11-Apr-12 1:06
mvePete O'Hanlon11-Apr-12 1:06 
GeneralRe: find solution for deadlock Pin
numeracy11-Apr-12 1:11
numeracy11-Apr-12 1:11 
GeneralRe: find solution for deadlock Pin
Pete O'Hanlon11-Apr-12 1:13
mvePete O'Hanlon11-Apr-12 1:13 
That part was left for you to figure out for yourself - what would you expect to happen if you couldn't acquire a lock? That's application specific, so I didn't put that in there, but you could check to see if you got the lock and loop until you got it in that function. All you need is to capture the return value of Monitor.TryEnter to control this.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


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


AnswerRe: find solution for deadlock Pin
Luc Pattyn11-Apr-12 3:39
sitebuilderLuc Pattyn11-Apr-12 3:39 
AnswerRe: find solution for deadlock PinPopular
BobJanova11-Apr-12 1:12
BobJanova11-Apr-12 1:12 
AnswerRe: find solution for deadlock Pin
numeracy11-Apr-12 12:29
numeracy11-Apr-12 12:29 
QuestionHow to destroy a child WinForm after operation? Pin
fantasy121511-Apr-12 0:20
fantasy121511-Apr-12 0:20 
AnswerRe: How to destroy a child WinForm after operation? Pin
Wes Aday11-Apr-12 0:46
professionalWes Aday11-Apr-12 0:46 
QuestionHow to make label font auto fit Pin
stevenlei10-Apr-12 23:39
stevenlei10-Apr-12 23:39 
AnswerRe: How to make label font auto fit Pin
Pete O'Hanlon11-Apr-12 0:12
mvePete O'Hanlon11-Apr-12 0:12 
GeneralRe: How to make label font auto fit Pin
stevenlei11-Apr-12 4:44
stevenlei11-Apr-12 4:44 
GeneralRe: How to make label font auto fit Pin
Pete O'Hanlon11-Apr-12 5:56
mvePete O'Hanlon11-Apr-12 5:56 
AnswerRe: How to make label font auto fit Pin
Ravi Bhavnani11-Apr-12 18:49
professionalRavi Bhavnani11-Apr-12 18:49 
QuestionDropdown list question Pin
R@vuri10-Apr-12 19:03
R@vuri10-Apr-12 19:03 
AnswerRe: Dropdown list question Pin
Abhinav S10-Apr-12 19:37
Abhinav S10-Apr-12 19:37 
AnswerRe: Dropdown list question Pin
V.10-Apr-12 20:29
professionalV.10-Apr-12 20:29 
GeneralC# code Pin
R@vuri10-Apr-12 17:50
R@vuri10-Apr-12 17:50 
AnswerRe: C# code Pin
Karthik Harve10-Apr-12 18:09
professionalKarthik Harve10-Apr-12 18:09 
GeneralRe: C# code Pin
R@vuri10-Apr-12 18:50
R@vuri10-Apr-12 18:50 
GeneralRe: C# code Pin
Abhinav S10-Apr-12 19:39
Abhinav S10-Apr-12 19:39 

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.