Chapter 8. Asynchronous patterns

After completing this chapter, you will be able to

  • Write code using the asynchronous pattern in WinRT.

  • Call asynchronous methods with the Parallel Patterns Library in C++.

  • Choose the right synchronization context in your code.

The preceding chapters have shown you how to write a Windows Store application, and you have already seen and written asynchronous code related to Windows Runtime (WinRT) methods and events. This chapter explains how asynchronous calls work in WinRT and how to write your own asynchronous code correctly in application and library code.

Asynchronous calls with the Parallel Patterns Library in C++

In previous versions of Microsoft Windows, many APIs were exposed mainly through synchronous methods. ...

Get Build Windows 8 Apps with Microsoft Visual C++ Step by Step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.