{"id":627,"date":"2016-11-18T13:33:48","date_gmt":"2016-11-18T13:33:48","guid":{"rendered":"https:\/\/ibex.tech\/windows-iot\/?p=84"},"modified":"2016-11-18T13:33:48","modified_gmt":"2016-11-18T13:33:48","slug":"threads-general","status":"publish","type":"post","link":"https:\/\/ibex.tech\/csharp\/uwp-programming-in-c\/threads\/threads-general","title":{"rendered":".Threads General"},"content":{"rendered":"<h4>\n\tThread Types<br \/>\n<\/h4>\n<p>\n\tUniversal apps have the following types of threads:\n<\/p>\n<p style=\"margin-left: 40px\">\n\tUI threads\n<\/p>\n<p style=\"margin-left: 80px\">\n\tTypcailly an app has a single UI thread, because an app typically has a single window (if there are multiple windows then each will have its own thread).<br \/>\n\tUI threads should be kept free to handle input and update the UI &#8211; long running tasks should be scheduled on a background thread.\n<\/p>\n<p style=\"margin-left: 40px\">\n\tBackground threads\n<\/p>\n<p>\n\t&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thread Types Universal apps have the following types of threads: UI threads Typcailly an app has a single UI thread, because an app typically has a single window (if there are multiple windows then each will have its own thread). UI threads should be kept free to handle input and update the UI &#8211; long [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[69],"tags":[],"class_list":["post-627","post","type-post","status-publish","format-standard","hentry","category-threads"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/comments?post=627"}],"version-history":[{"count":0,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/posts\/627\/revisions"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/media?parent=627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/categories?post=627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/csharp\/wp-json\/wp\/v2\/tags?post=627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}