c# - Problem with threads in WPF -


i'm writing application in wpf. have 1 main thread , 1 - calculate something. in main thread need 1 operation after additional thread finished. can't use join additional thread, because don't want block main thread. how can wait finishing second thread , @ same time don't block main thread?

the eaisest way use backgroundworker , handle runworkercompleted event.

i invite take part 3 of joseph albahari's threading in c# pdf


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -