{"id":556,"date":"2011-01-06T20:43:42","date_gmt":"2011-01-06T20:43:42","guid":{"rendered":"https:\/\/ibex.tech\/visualcpp\/?p=556"},"modified":"2022-02-17T06:24:04","modified_gmt":"2022-02-17T06:24:04","slug":"sleep","status":"publish","type":"post","link":"https:\/\/ibex.tech\/visualcpp\/threads\/sleep","title":{"rendered":"Sleep"},"content":{"rendered":"<pre><code>\r\nusing namespace System::Threading;\r\n<\/code><\/pre>\n<h4>Pause<\/h4>\n<p>This allows you to literally pause execution where you are in the current function &#8211; it just pauses this thread<\/p>\n<pre><code>\r\n\tThread::Sleep(1000);\t\t\/\/mS\r\n\r\n\tSystem::Threading::Thread::Sleep(1000);\t\t\/\/mS\r\n<\/code><\/pre>\n<pre><code>\r\n<\/code><\/pre>\n<pre><code>\r\nThreading.Thread.Sleep(New TimeSpan(0, 1, 0))\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>using namespace System::Threading; Pause This allows you to literally pause execution where you are in the current function &#8211; it just pauses this thread Thread::Sleep(1000); \/\/mS System::Threading::Thread::Sleep(1000); \/\/mS Threading.Thread.Sleep(New TimeSpan(0, 1, 0))<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-556","post","type-post","status-publish","format-standard","hentry","category-threads"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/comments?post=556"}],"version-history":[{"count":3,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/556\/revisions"}],"predecessor-version":[{"id":1054,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/556\/revisions\/1054"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/media?parent=556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/categories?post=556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/tags?post=556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}