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
Post a Comment