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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.