Task Parallel Library: Design Principles and Best Practices


Right click “Save as…”

Slides (view online)
If you believe that knowing how something works helps you use it better, and that patterns and best-practices provide guidance and inspiration, then this talk is for you. In this session we look into some of the decisions that were made in the design of the TPL API, and how these design decisions affect its usage patterns. We look at the ways by which the API can help us optimize context switches, how to best utilize the underlying thread-pool, and how to create more elegant and maintainable applications through the application of the right APIs in the right places. This talk is based on the speaker's extensive research, experimentation, and in-depth interviews with the people who designed the TPL.
For more information, check out this course on Microsoft Virtual Academy:

Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.