O'Reilly logo

Mastering Windows 8 C++ App Development by Pavel Yosifovich

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Asynchronous operations

Windows 8 Store applications promise to be "fast and fluid". This expression has several meanings, some of which are related to user experience and user interface design (which won't concern us here), and some related to application responsiveness.

Ever since the first version of the Windows OS, user interface was handled by a single thread in an application. Technically, a thread may create any number of windows, and that thread becomes the owner of those windows, and is the only thread that can handle messages targeting those windows (through a message queue). If that thread becomes very busy and does not handle messages quickly enough, the UI becomes less responsive; in extreme cases, if the thread is stuck for several ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required