Threading sample for Windows 8 Store Apps