{"id":4370,"date":"2016-09-17T17:09:53","date_gmt":"2016-09-17T09:09:53","guid":{"rendered":"http:\/\/unitycoder.com\/blog\/?p=4370"},"modified":"2016-09-17T17:09:53","modified_gmt":"2016-09-17T09:09:53","slug":"easy-threading-with-threadpool","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2016\/09\/17\/easy-threading-with-threadpool\/","title":{"rendered":"Easy Threading with ThreadPool"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"4371\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2016\/09\/17\/easy-threading-with-threadpool\/unity_threading_threadpool\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2016\/09\/unity_threading_threadpool.gif?fit=411%2C296&amp;ssl=1\" data-orig-size=\"411,296\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"unity_threading_threadpool\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2016\/09\/unity_threading_threadpool.gif?fit=411%2C296&amp;ssl=1\" class=\"alignnone size-full wp-image-4371\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2016\/09\/unity_threading_threadpool.gif?resize=411%2C296\" alt=\"unity_threading_threadpool\" width=\"411\" height=\"296\" \/><\/p>\n<p>Want to use simple threading? <a href=\"https:\/\/www.dotnetperls.com\/threadpool\" target=\"_blank\">ThreadPool <\/a>seems like an easy solution.<\/p>\n<p><strong>Source: (c#)<\/strong><br \/>\n<a href=\"https:\/\/github.com\/UnityCommunity\/UnityLibrary\/blob\/master\/Scripts\/Threading\/ThreadPoolTest.cs\" target=\"_blank\">https:\/\/github.com\/UnityCommunity\/UnityLibrary\/blob\/master\/Scripts\/Threading\/ThreadPoolTest.cs<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Want to use simple threading? ThreadPool seems like an easy solution. Source: (c#) https:\/\/github.com\/UnityCommunity\/UnityLibrary\/blob\/master\/Scripts\/Threading\/ThreadPoolTest.cs<\/p>\n","protected":false},"author":1,"featured_media":4371,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[804,3],"tags":[914,154,216,913,912,915],"class_list":["post-4370","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scripts","category-unity3d","tag-easy","tag-free","tag-simple","tag-thread","tag-threading","tag-threadpool"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2016\/09\/unity_threading_threadpool.gif?fit=411%2C296&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-18u","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/4370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=4370"}],"version-history":[{"count":1,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/4370\/revisions"}],"predecessor-version":[{"id":4372,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/4370\/revisions\/4372"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/4371"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=4370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=4370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=4370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}