{"id":351,"date":"2012-01-08T20:37:56","date_gmt":"2012-01-09T02:37:56","guid":{"rendered":"http:\/\/tommysprinkle.com\/txxos\/?p=351"},"modified":"2021-04-17T18:22:23","modified_gmt":"2021-04-17T23:22:23","slug":"wait-post-overview","status":"publish","type":"post","link":"https:\/\/tommysprinkle.com\/txxos\/?p=351","title":{"rendered":"Wait \/ Post Overview"},"content":{"rendered":"<p>A critical component to our Operating System is Wait and Post. \u00a0The Wait function allows a task to wait for an event to occur while the Post function is used to signal an event has\u00a0occurred. \u00a0An Event Control Block (ECB) is used for communication between Wait and Post. \u00a0The ECB is a fullword (4 bytes) that represents an event. \u00a0A task issues a Wait against and ECB and a Post is issued to an ECB.<\/p>\n<p>The ECB status is represented using the first two bits of the first byte. \u00a0The first bit (x&#8217;80&#8217;) indicates an ECB is being waited on. \u00a0The second bit (x&#8217;40&#8217;) indicates the ECB has been posted.<\/p>\n<p>Only one TCB\/RB may wait on an ECB at any one time. \u00a0The wait status is associated with the RB and is proprigated from the active RB to the TCB.<\/p>\n<p>[Next &#8211; <a title=\"SVC 1 \u2013 Wait\" href=\"http:\/\/tommysprinkle.com\/txxos\/?p=355\">SVC 1 &#8211; Wait<\/a>]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A critical component to our Operating System is Wait and Post. \u00a0The Wait function allows a task to wait for an event to occur while the Post function is used to signal an event has\u00a0occurred. \u00a0An Event Control Block (ECB) &hellip; <a href=\"https:\/\/tommysprinkle.com\/txxos\/?p=351\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"template-page-builder-no-sidebar.php","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_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":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-351","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1CPQT-5F","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tommysprinkle.com\/txxos\/index.php?rest_route=\/wp\/v2\/posts\/351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tommysprinkle.com\/txxos\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tommysprinkle.com\/txxos\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tommysprinkle.com\/txxos\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tommysprinkle.com\/txxos\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=351"}],"version-history":[{"count":5,"href":"https:\/\/tommysprinkle.com\/txxos\/index.php?rest_route=\/wp\/v2\/posts\/351\/revisions"}],"predecessor-version":[{"id":478,"href":"https:\/\/tommysprinkle.com\/txxos\/index.php?rest_route=\/wp\/v2\/posts\/351\/revisions\/478"}],"wp:attachment":[{"href":"https:\/\/tommysprinkle.com\/txxos\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tommysprinkle.com\/txxos\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tommysprinkle.com\/txxos\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}