Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Register
Login
Parallel Programming: Task Schedulers and Synchronization Context
WhatsApp
Mahesh Chand
14y
9.1
k
0
5
Resource
0
Yes, it does everything that I wanted, but it uses the WPF API extensively. Although it is perfectly fine to use WPF as shown above, with the TPL you can make your code much less dependent on the particular UI framework. Right now, if you copy and paste the button event handler and the
SumRootN
method to a Windows Forms application with almost identical UI, you would need to do a lot of work, because Windows Forms doesn't have the
Dispatcher
object and uses different API for managing interactions with the UI thread.
Continue reading here ...
Parallel Programming
Synchronization Context
C#