Click here to Skip to main content
15,898,746 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF Update UI When Collection Changes Pin
Gerry Schmitz2-Aug-12 8:40
mveGerry Schmitz2-Aug-12 8:40 
GeneralRe: WPF Update UI When Collection Changes Pin
Kevin Marois2-Aug-12 8:47
professionalKevin Marois2-Aug-12 8:47 
GeneralRe: WPF Update UI When Collection Changes Pin
Gerry Schmitz2-Aug-12 9:05
mveGerry Schmitz2-Aug-12 9:05 
GeneralRe: WPF Update UI When Collection Changes Pin
Ed Hill _5_2-Aug-12 23:02
Ed Hill _5_2-Aug-12 23:02 
GeneralRe: WPF Update UI When Collection Changes Pin
Pete O'Hanlon2-Aug-12 9:47
mvePete O'Hanlon2-Aug-12 9:47 
GeneralRe: WPF Update UI When Collection Changes Pin
Gerry Schmitz2-Aug-12 9:55
mveGerry Schmitz2-Aug-12 9:55 
GeneralRe: WPF Update UI When Collection Changes Pin
Kevin Marois2-Aug-12 9:57
professionalKevin Marois2-Aug-12 9:57 
GeneralRe: WPF Update UI When Collection Changes Pin
Pete O'Hanlon2-Aug-12 10:21
mvePete O'Hanlon2-Aug-12 10:21 
Multiple threads potentially hitting the same piece of code around the same time. In the original example, there is a test for a null handler, and if it's not null, the event is raised. The race condition occurs because these are two discrete operations so the second call to the handler could be null because another thread freed the event handler. That's what my code fixes (there are other ways, but this one's a common way).

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

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


CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: WPF Update UI When Collection Changes Pin
Kevin Marois2-Aug-12 10:25
professionalKevin Marois2-Aug-12 10:25 
GeneralRe: WPF Update UI When Collection Changes Pin
Kevin Marois2-Aug-12 10:02
professionalKevin Marois2-Aug-12 10:02 
GeneralRe: WPF Update UI When Collection Changes Pin
Kevin Marois2-Aug-12 9:56
professionalKevin Marois2-Aug-12 9:56 
GeneralRe: WPF Update UI When Collection Changes Pin
Gerry Schmitz2-Aug-12 10:33
mveGerry Schmitz2-Aug-12 10:33 
GeneralRe: WPF Update UI When Collection Changes Pin
Kevin Marois2-Aug-12 10:43
professionalKevin Marois2-Aug-12 10:43 
GeneralRe: WPF Update UI When Collection Changes Pin
SledgeHammer012-Aug-12 12:58
SledgeHammer012-Aug-12 12:58 
GeneralRe: WPF Update UI When Collection Changes Pin
Kevin Marois2-Aug-12 13:01
professionalKevin Marois2-Aug-12 13:01 
GeneralRe: WPF Update UI When Collection Changes Pin
SledgeHammer012-Aug-12 13:20
SledgeHammer012-Aug-12 13:20 
GeneralRe: WPF Update UI When Collection Changes Pin
Kevin Marois2-Aug-12 13:27
professionalKevin Marois2-Aug-12 13:27 
GeneralRe: WPF Update UI When Collection Changes Pin
SledgeHammer012-Aug-12 13:31
SledgeHammer012-Aug-12 13:31 
Questionprogressbar Pin
daniardwihartomo31-Jul-12 18:34
daniardwihartomo31-Jul-12 18:34 
AnswerRe: progressbar Pin
Mycroft Holmes31-Jul-12 19:26
professionalMycroft Holmes31-Jul-12 19:26 
AnswerRe: progressbar Pin
Christian Amado2-Aug-12 8:48
professionalChristian Amado2-Aug-12 8:48 
QuestionThemes Change Pin
rahul ameta30-Jul-12 21:39
rahul ameta30-Jul-12 21:39 
AnswerRe: Themes Change Pin
Wayne Gaylard30-Jul-12 22:03
professionalWayne Gaylard30-Jul-12 22:03 
AnswerRe: Themes Change Pin
Christian Amado2-Aug-12 8:50
professionalChristian Amado2-Aug-12 8:50 
QuestionUsercontrol Pin
rahul ameta30-Jul-12 21:33
rahul ameta30-Jul-12 21:33 

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.