{"id":3924,"date":"2024-04-13T07:38:28","date_gmt":"2024-04-13T02:08:28","guid":{"rendered":"https:\/\/cthecosmos.com\/?p=3924"},"modified":"2024-04-13T07:38:28","modified_gmt":"2024-04-13T02:08:28","slug":"%f0%9d%91%be%f0%9d%92%89%f0%9d%92%82%f0%9d%92%95-%f0%9d%92%8a%f0%9d%92%94-%f0%9d%92%82-%f0%9d%91%b9%f0%9d%92%82%f0%9d%92%84%f0%9d%92%86-%f0%9d%91%aa%f0%9d%92%90%f0%9d%92%8f%f0%9d%92%85%f0%9d%92%8a","status":"publish","type":"post","link":"https:\/\/cthecosmos.com\/?p=3924","title":{"rendered":"\ud835\udc7e\ud835\udc89\ud835\udc82\ud835\udc95 \ud835\udc8a\ud835\udc94 \ud835\udc82 \ud835\udc79\ud835\udc82\ud835\udc84\ud835\udc86 \ud835\udc6a\ud835\udc90\ud835\udc8f\ud835\udc85\ud835\udc8a\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f? \ud835\udc6b\ud835\udc90\ud835\udc86\ud835\udc94 \ud835\udc8a\ud835\udc95 \ud835\udc93\ud835\udc86\ud835\udc82\ud835\udc8d\ud835\udc8d\ud835\udc9a \ud835\udc8e\ud835\udc82\ud835\udc95\ud835\udc95\ud835\udc86\ud835\udc93?"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"666\" height=\"668\" data-attachment-id=\"3928\" data-permalink=\"https:\/\/cthecosmos.com\/?attachment_id=3928\" data-orig-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/race-condition-1.png?fit=666%2C668&amp;ssl=1\" data-orig-size=\"666,668\" data-comments-opened=\"1\" data-image-title=\"race-condition-1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/race-condition-1.png?fit=666%2C668&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/race-condition-1.png?resize=666%2C668&#038;ssl=1\" alt=\"\" class=\"wp-image-3928\" \/><\/figure>\n<\/div>\n\n\n<p class=\"has-black-color has-white-background-color has-text-color has-background has-link-color wp-elements-1 wp-block-paragraph\" style=\"font-size:17px;line-height:1.8\">A <strong>race condition<\/strong> occurs when multiple threads or processes try to access and modify shared resources simultaneously, leading to unpredictable and erroneous results.<br><br>Synchronization techniques like Mutex or Semaphores are used by the process to access the shared resource at the time.<br><br>A <strong>Mutex <\/strong>(short for Mutual Exclusion) is a synchronization mechanism used in Linux to prevent multiple threads or processes from accessing a shared resource simultaneously. It locks the resource and ensures that only one thread or process can use the shared resource at any given time.<br><br>If the resource is available, a thread\/process locks the mutex. If the mutex is locked when the process accesses it, the current thread will be put on hold until the resource is released. Mutex is like a ticket system that controls access to shared resources in Linux, ensuring that only one thread or process can use the resource at a time, thus avoiding conflicts and race conditions.<br><br>\ud835\udc6f\ud835\udc90\ud835\udc98 \ud835\udc89\ud835\udc82\ud835\udc93\ud835\udc8e\ud835\udc87\ud835\udc96\ud835\udc8d \ud835\udc84\ud835\udc82\ud835\udc8f \ud835\udc82 \ud835\udc93\ud835\udc82\ud835\udc84\ud835\udc86 \ud835\udc84\ud835\udc90\ud835\udc8f\ud835\udc85\ud835\udc8a\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f \ud835\udc83\ud835\udc86?<br><br><strong>Therac-25<\/strong>&#8221; radiation therapy machine incidents that occurred in the 1980s.<br>The Therac-25 was a medical linear accelerator machine used for delivering radiation therapy to cancer patients. It was designed to provide high-precision treatment, but a race condition in the software controlling the machine caused it to deliver massive overdoses of radiation to some patients.<br><br>The race condition occurred when operators rapidly entered commands, such as adjusting the dose rate, while the machine was still processing previous commands. Due to a subtle software bug, the Therac-25&#8217;s safety mechanisms were bypassed, and it allowed the machine to deliver radiation in high-dose &#8220;high-energy&#8221; mode without automatically reducing the dose to a safer level.<br><br>As a result, patients were exposed to radiation levels far beyond what was intended, leading to severe injuries and, in some cases, fatalities. The race condition made it challenging for the operators to detect the error before it caused harm.<br><br>This incident highlighted the importance of thorough software testing, rigorous verification of medical devices, and the critical need to identify and fix race conditions in safety-critical systems. It also resulted in significant improvements in medical device regulation and safety standards.<br><br>So, yep. Pretty Harmful.<br><br>You can read more about Therac-25 incident here: <a href=\"https:\/\/www.bugsnag.com\/blog\/bug-day-race-condition-therac-25\/\">https:\/\/www.bugsnag.com\/blog\/bug-day-race-condition-therac-25\/<\/a><\/p>\n\n\n\n<p class=\"has-white-color has-text-color has-background has-link-color has-medium-font-size wp-elements-2 wp-block-paragraph\" style=\"background:linear-gradient(135deg,rgb(35,23,11) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%)\">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><strong>An Article by: <\/strong>Yashwanth Naidu Tikkisetty<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A race condition in software occurs when multiple processes try to access shared resources simultaneously, leading to unpredictable outcomes. An example is the Therac-25 radiation therapy machine incidents in the 1980s, where a race condition in the machine&#8217;s software led to patients receiving massive overdoses of radiation, highlighting the critical need for thorough software testing and safety standards.<\/p>\n<a href=\"https:\/\/cthecosmos.com\/?p=3924\" class=\"more-link\">Read More <span class=\"screen-reader-text\">\ud835\udc7e\ud835\udc89\ud835\udc82\ud835\udc95 \ud835\udc8a\ud835\udc94 \ud835\udc82 \ud835\udc79\ud835\udc82\ud835\udc84\ud835\udc86 \ud835\udc6a\ud835\udc90\ud835\udc8f\ud835\udc85\ud835\udc8a\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f? \ud835\udc6b\ud835\udc90\ud835\udc86\ud835\udc94 \ud835\udc8a\ud835\udc95 \ud835\udc93\ud835\udc86\ud835\udc82\ud835\udc8d\ud835\udc8d\ud835\udc9a \ud835\udc8e\ud835\udc82\ud835\udc95\ud835\udc95\ud835\udc86\ud835\udc93?<\/span><\/a>","protected":false},"author":120055267,"featured_media":3926,"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,"_wpcom_ai_launchpad_first_post":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":false,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[769112296,36985,35264203,769114260,5495],"tags":[772321195,34922710,3015,8403515],"class_list":["post-3924","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c-concepts-hub","category-c-programming","category-linux-3","category-linuxlearnings","category-operating-system","tag-c-programming","tag-linux-2","tag-operating-systems","tag-race-condition","fallback-thumbnail"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"A race condition in software occurs when multiple processes try to access shared resources simultaneously, leading to unpredictable outcomes. An example is the Therac-25 radiation therapy machine incidents in the 1980s, where a race condition in the machine&#039;s software led to patients receiving massive overdoses of radiation, highlighting the critical need for thorough software testing and safety standards.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yashwanth Naidu Tikkisetty\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/cthecosmos.com\/?p=3924\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Yashwanth Naidu Tikkisetty - Embedded Systems | Space Blogger\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud835\udc7e\ud835\udc89\ud835\udc82\ud835\udc95 \ud835\udc8a\ud835\udc94 \ud835\udc82 \ud835\udc79\ud835\udc82\ud835\udc84\ud835\udc86 \ud835\udc6a\ud835\udc90\ud835\udc8f\ud835\udc85\ud835\udc8a\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f? \ud835\udc6b\ud835\udc90\ud835\udc86\ud835\udc94 \ud835\udc8a\ud835\udc95 \ud835\udc93\ud835\udc86\ud835\udc82\ud835\udc8d\ud835\udc8d\ud835\udc9a \ud835\udc8e\ud835\udc82\ud835\udc95\ud835\udc95\ud835\udc86\ud835\udc93? - Yashwanth Naidu Tikkisetty\" \/>\n\t\t<meta property=\"og:description\" content=\"A race condition in software occurs when multiple processes try to access shared resources simultaneously, leading to unpredictable outcomes. An example is the Therac-25 radiation therapy machine incidents in the 1980s, where a race condition in the machine&#039;s software led to patients receiving massive overdoses of radiation, highlighting the critical need for thorough software testing and safety standards.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/cthecosmos.com\/?p=3924\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1200\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-04-13T02:08:28+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-04-13T02:08:28+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\ud835\udc7e\ud835\udc89\ud835\udc82\ud835\udc95 \ud835\udc8a\ud835\udc94 \ud835\udc82 \ud835\udc79\ud835\udc82\ud835\udc84\ud835\udc86 \ud835\udc6a\ud835\udc90\ud835\udc8f\ud835\udc85\ud835\udc8a\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f? \ud835\udc6b\ud835\udc90\ud835\udc86\ud835\udc94 \ud835\udc8a\ud835\udc95 \ud835\udc93\ud835\udc86\ud835\udc82\ud835\udc8d\ud835\udc8d\ud835\udc9a \ud835\udc8e\ud835\udc82\ud835\udc95\ud835\udc95\ud835\udc86\ud835\udc93? - Yashwanth Naidu Tikkisetty\" \/>\n\t\t<meta name=\"twitter:description\" content=\"A race condition in software occurs when multiple processes try to access shared resources simultaneously, leading to unpredictable outcomes. An example is the Therac-25 radiation therapy machine incidents in the 1980s, where a race condition in the machine&#039;s software led to patients receiving massive overdoses of radiation, highlighting the critical need for thorough software testing and safety standards.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=3924#blogposting\",\"name\":\"\\ud835\\udc7e\\ud835\\udc89\\ud835\\udc82\\ud835\\udc95 \\ud835\\udc8a\\ud835\\udc94 \\ud835\\udc82 \\ud835\\udc79\\ud835\\udc82\\ud835\\udc84\\ud835\\udc86 \\ud835\\udc6a\\ud835\\udc90\\ud835\\udc8f\\ud835\\udc85\\ud835\\udc8a\\ud835\\udc95\\ud835\\udc8a\\ud835\\udc90\\ud835\\udc8f? \\ud835\\udc6b\\ud835\\udc90\\ud835\\udc86\\ud835\\udc94 \\ud835\\udc8a\\ud835\\udc95 \\ud835\\udc93\\ud835\\udc86\\ud835\\udc82\\ud835\\udc8d\\ud835\\udc8d\\ud835\\udc9a \\ud835\\udc8e\\ud835\\udc82\\ud835\\udc95\\ud835\\udc95\\ud835\\udc86\\ud835\\udc93? - Yashwanth Naidu Tikkisetty\",\"headline\":\"\\ud835\\udc7e\\ud835\\udc89\\ud835\\udc82\\ud835\\udc95 \\ud835\\udc8a\\ud835\\udc94 \\ud835\\udc82 \\ud835\\udc79\\ud835\\udc82\\ud835\\udc84\\ud835\\udc86 \\ud835\\udc6a\\ud835\\udc90\\ud835\\udc8f\\ud835\\udc85\\ud835\\udc8a\\ud835\\udc95\\ud835\\udc8a\\ud835\\udc90\\ud835\\udc8f? \\ud835\\udc6b\\ud835\\udc90\\ud835\\udc86\\ud835\\udc94 \\ud835\\udc8a\\ud835\\udc95 \\ud835\\udc93\\ud835\\udc86\\ud835\\udc82\\ud835\\udc8d\\ud835\\udc8d\\ud835\\udc9a \\ud835\\udc8e\\ud835\\udc82\\ud835\\udc95\\ud835\\udc95\\ud835\\udc86\\ud835\\udc93?\",\"author\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?author=120055267#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/cthecosmos.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/race-condition.png?fit=666%2C668&ssl=1\",\"width\":666,\"height\":668},\"datePublished\":\"2024-04-13T07:38:28+05:30\",\"dateModified\":\"2024-04-13T07:38:28+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=3924#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=3924#webpage\"},\"articleSection\":\"C Concepts Hub, c programming, linux, linuxlearnings, Operating System, c programming, linux, operating systems, race condition\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=3924#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cthecosmos.com\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?cat=5495#listItem\",\"name\":\"Operating System\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?cat=5495#listItem\",\"position\":2,\"name\":\"Operating System\",\"item\":\"https:\\\/\\\/cthecosmos.com\\\/?cat=5495\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=3924#listItem\",\"name\":\"\\ud835\\udc7e\\ud835\\udc89\\ud835\\udc82\\ud835\\udc95 \\ud835\\udc8a\\ud835\\udc94 \\ud835\\udc82 \\ud835\\udc79\\ud835\\udc82\\ud835\\udc84\\ud835\\udc86 \\ud835\\udc6a\\ud835\\udc90\\ud835\\udc8f\\ud835\\udc85\\ud835\\udc8a\\ud835\\udc95\\ud835\\udc8a\\ud835\\udc90\\ud835\\udc8f? \\ud835\\udc6b\\ud835\\udc90\\ud835\\udc86\\ud835\\udc94 \\ud835\\udc8a\\ud835\\udc95 \\ud835\\udc93\\ud835\\udc86\\ud835\\udc82\\ud835\\udc8d\\ud835\\udc8d\\ud835\\udc9a \\ud835\\udc8e\\ud835\\udc82\\ud835\\udc95\\ud835\\udc95\\ud835\\udc86\\ud835\\udc93?\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=3924#listItem\",\"position\":3,\"name\":\"\\ud835\\udc7e\\ud835\\udc89\\ud835\\udc82\\ud835\\udc95 \\ud835\\udc8a\\ud835\\udc94 \\ud835\\udc82 \\ud835\\udc79\\ud835\\udc82\\ud835\\udc84\\ud835\\udc86 \\ud835\\udc6a\\ud835\\udc90\\ud835\\udc8f\\ud835\\udc85\\ud835\\udc8a\\ud835\\udc95\\ud835\\udc8a\\ud835\\udc90\\ud835\\udc8f? \\ud835\\udc6b\\ud835\\udc90\\ud835\\udc86\\ud835\\udc94 \\ud835\\udc8a\\ud835\\udc95 \\ud835\\udc93\\ud835\\udc86\\ud835\\udc82\\ud835\\udc8d\\ud835\\udc8d\\ud835\\udc9a \\ud835\\udc8e\\ud835\\udc82\\ud835\\udc95\\ud835\\udc95\\ud835\\udc86\\ud835\\udc93?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?cat=5495#listItem\",\"name\":\"Operating System\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/#person\",\"name\":\"Yashwanth Naidu Tikkisetty\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=3924#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Yashwanth Naidu Tikkisetty\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?author=120055267#author\",\"url\":\"https:\\\/\\\/cthecosmos.com\\\/?author=120055267\",\"name\":\"Yashwanth Naidu Tikkisetty\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=3924#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Yashwanth Naidu Tikkisetty\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=3924#webpage\",\"url\":\"https:\\\/\\\/cthecosmos.com\\\/?p=3924\",\"name\":\"\\ud835\\udc7e\\ud835\\udc89\\ud835\\udc82\\ud835\\udc95 \\ud835\\udc8a\\ud835\\udc94 \\ud835\\udc82 \\ud835\\udc79\\ud835\\udc82\\ud835\\udc84\\ud835\\udc86 \\ud835\\udc6a\\ud835\\udc90\\ud835\\udc8f\\ud835\\udc85\\ud835\\udc8a\\ud835\\udc95\\ud835\\udc8a\\ud835\\udc90\\ud835\\udc8f? \\ud835\\udc6b\\ud835\\udc90\\ud835\\udc86\\ud835\\udc94 \\ud835\\udc8a\\ud835\\udc95 \\ud835\\udc93\\ud835\\udc86\\ud835\\udc82\\ud835\\udc8d\\ud835\\udc8d\\ud835\\udc9a \\ud835\\udc8e\\ud835\\udc82\\ud835\\udc95\\ud835\\udc95\\ud835\\udc86\\ud835\\udc93? - Yashwanth Naidu Tikkisetty\",\"description\":\"A race condition in software occurs when multiple processes try to access shared resources simultaneously, leading to unpredictable outcomes. An example is the Therac-25 radiation therapy machine incidents in the 1980s, where a race condition in the machine's software led to patients receiving massive overdoses of radiation, highlighting the critical need for thorough software testing and safety standards.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=3924#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?author=120055267#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?author=120055267#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/cthecosmos.com\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/race-condition.png?fit=666%2C668&ssl=1\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=3924\\\/#mainImage\",\"width\":666,\"height\":668},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/?p=3924#mainImage\"},\"datePublished\":\"2024-04-13T07:38:28+05:30\",\"dateModified\":\"2024-04-13T07:38:28+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/#website\",\"url\":\"https:\\\/\\\/cthecosmos.com\\\/\",\"name\":\"Yashwanth Naidu Tikkisetty\",\"description\":\"Embedded Systems | Space Blogger\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/cthecosmos.com\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud835\udc7e\ud835\udc89\ud835\udc82\ud835\udc95 \ud835\udc8a\ud835\udc94 \ud835\udc82 \ud835\udc79\ud835\udc82\ud835\udc84\ud835\udc86 \ud835\udc6a\ud835\udc90\ud835\udc8f\ud835\udc85\ud835\udc8a\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f? \ud835\udc6b\ud835\udc90\ud835\udc86\ud835\udc94 \ud835\udc8a\ud835\udc95 \ud835\udc93\ud835\udc86\ud835\udc82\ud835\udc8d\ud835\udc8d\ud835\udc9a \ud835\udc8e\ud835\udc82\ud835\udc95\ud835\udc95\ud835\udc86\ud835\udc93? - Yashwanth Naidu Tikkisetty","description":"A race condition in software occurs when multiple processes try to access shared resources simultaneously, leading to unpredictable outcomes. An example is the Therac-25 radiation therapy machine incidents in the 1980s, where a race condition in the machine's software led to patients receiving massive overdoses of radiation, highlighting the critical need for thorough software testing and safety standards.","canonical_url":"https:\/\/cthecosmos.com\/?p=3924","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/cthecosmos.com\/?p=3924#blogposting","name":"\ud835\udc7e\ud835\udc89\ud835\udc82\ud835\udc95 \ud835\udc8a\ud835\udc94 \ud835\udc82 \ud835\udc79\ud835\udc82\ud835\udc84\ud835\udc86 \ud835\udc6a\ud835\udc90\ud835\udc8f\ud835\udc85\ud835\udc8a\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f? \ud835\udc6b\ud835\udc90\ud835\udc86\ud835\udc94 \ud835\udc8a\ud835\udc95 \ud835\udc93\ud835\udc86\ud835\udc82\ud835\udc8d\ud835\udc8d\ud835\udc9a \ud835\udc8e\ud835\udc82\ud835\udc95\ud835\udc95\ud835\udc86\ud835\udc93? - Yashwanth Naidu Tikkisetty","headline":"\ud835\udc7e\ud835\udc89\ud835\udc82\ud835\udc95 \ud835\udc8a\ud835\udc94 \ud835\udc82 \ud835\udc79\ud835\udc82\ud835\udc84\ud835\udc86 \ud835\udc6a\ud835\udc90\ud835\udc8f\ud835\udc85\ud835\udc8a\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f? \ud835\udc6b\ud835\udc90\ud835\udc86\ud835\udc94 \ud835\udc8a\ud835\udc95 \ud835\udc93\ud835\udc86\ud835\udc82\ud835\udc8d\ud835\udc8d\ud835\udc9a \ud835\udc8e\ud835\udc82\ud835\udc95\ud835\udc95\ud835\udc86\ud835\udc93?","author":{"@id":"https:\/\/cthecosmos.com\/?author=120055267#author"},"publisher":{"@id":"https:\/\/cthecosmos.com\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/race-condition.png?fit=666%2C668&ssl=1","width":666,"height":668},"datePublished":"2024-04-13T07:38:28+05:30","dateModified":"2024-04-13T07:38:28+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/cthecosmos.com\/?p=3924#webpage"},"isPartOf":{"@id":"https:\/\/cthecosmos.com\/?p=3924#webpage"},"articleSection":"C Concepts Hub, c programming, linux, linuxlearnings, Operating System, c programming, linux, operating systems, race condition"},{"@type":"BreadcrumbList","@id":"https:\/\/cthecosmos.com\/?p=3924#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/cthecosmos.com\/#listItem","position":1,"name":"Home","item":"https:\/\/cthecosmos.com\/","nextItem":{"@type":"ListItem","@id":"https:\/\/cthecosmos.com\/?cat=5495#listItem","name":"Operating System"}},{"@type":"ListItem","@id":"https:\/\/cthecosmos.com\/?cat=5495#listItem","position":2,"name":"Operating System","item":"https:\/\/cthecosmos.com\/?cat=5495","nextItem":{"@type":"ListItem","@id":"https:\/\/cthecosmos.com\/?p=3924#listItem","name":"\ud835\udc7e\ud835\udc89\ud835\udc82\ud835\udc95 \ud835\udc8a\ud835\udc94 \ud835\udc82 \ud835\udc79\ud835\udc82\ud835\udc84\ud835\udc86 \ud835\udc6a\ud835\udc90\ud835\udc8f\ud835\udc85\ud835\udc8a\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f? \ud835\udc6b\ud835\udc90\ud835\udc86\ud835\udc94 \ud835\udc8a\ud835\udc95 \ud835\udc93\ud835\udc86\ud835\udc82\ud835\udc8d\ud835\udc8d\ud835\udc9a \ud835\udc8e\ud835\udc82\ud835\udc95\ud835\udc95\ud835\udc86\ud835\udc93?"},"previousItem":{"@type":"ListItem","@id":"https:\/\/cthecosmos.com\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/cthecosmos.com\/?p=3924#listItem","position":3,"name":"\ud835\udc7e\ud835\udc89\ud835\udc82\ud835\udc95 \ud835\udc8a\ud835\udc94 \ud835\udc82 \ud835\udc79\ud835\udc82\ud835\udc84\ud835\udc86 \ud835\udc6a\ud835\udc90\ud835\udc8f\ud835\udc85\ud835\udc8a\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f? \ud835\udc6b\ud835\udc90\ud835\udc86\ud835\udc94 \ud835\udc8a\ud835\udc95 \ud835\udc93\ud835\udc86\ud835\udc82\ud835\udc8d\ud835\udc8d\ud835\udc9a \ud835\udc8e\ud835\udc82\ud835\udc95\ud835\udc95\ud835\udc86\ud835\udc93?","previousItem":{"@type":"ListItem","@id":"https:\/\/cthecosmos.com\/?cat=5495#listItem","name":"Operating System"}}]},{"@type":"Person","@id":"https:\/\/cthecosmos.com\/#person","name":"Yashwanth Naidu Tikkisetty","image":{"@type":"ImageObject","@id":"https:\/\/cthecosmos.com\/?p=3924#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Yashwanth Naidu Tikkisetty"}},{"@type":"Person","@id":"https:\/\/cthecosmos.com\/?author=120055267#author","url":"https:\/\/cthecosmos.com\/?author=120055267","name":"Yashwanth Naidu Tikkisetty","image":{"@type":"ImageObject","@id":"https:\/\/cthecosmos.com\/?p=3924#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/a02d9f38e4c924587b544c74f6d5de0c8469b6a5c684622f1aa4ea2ba65b17d8?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Yashwanth Naidu Tikkisetty"}},{"@type":"WebPage","@id":"https:\/\/cthecosmos.com\/?p=3924#webpage","url":"https:\/\/cthecosmos.com\/?p=3924","name":"\ud835\udc7e\ud835\udc89\ud835\udc82\ud835\udc95 \ud835\udc8a\ud835\udc94 \ud835\udc82 \ud835\udc79\ud835\udc82\ud835\udc84\ud835\udc86 \ud835\udc6a\ud835\udc90\ud835\udc8f\ud835\udc85\ud835\udc8a\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f? \ud835\udc6b\ud835\udc90\ud835\udc86\ud835\udc94 \ud835\udc8a\ud835\udc95 \ud835\udc93\ud835\udc86\ud835\udc82\ud835\udc8d\ud835\udc8d\ud835\udc9a \ud835\udc8e\ud835\udc82\ud835\udc95\ud835\udc95\ud835\udc86\ud835\udc93? - Yashwanth Naidu Tikkisetty","description":"A race condition in software occurs when multiple processes try to access shared resources simultaneously, leading to unpredictable outcomes. An example is the Therac-25 radiation therapy machine incidents in the 1980s, where a race condition in the machine's software led to patients receiving massive overdoses of radiation, highlighting the critical need for thorough software testing and safety standards.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/cthecosmos.com\/#website"},"breadcrumb":{"@id":"https:\/\/cthecosmos.com\/?p=3924#breadcrumblist"},"author":{"@id":"https:\/\/cthecosmos.com\/?author=120055267#author"},"creator":{"@id":"https:\/\/cthecosmos.com\/?author=120055267#author"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/race-condition.png?fit=666%2C668&ssl=1","@id":"https:\/\/cthecosmos.com\/?p=3924\/#mainImage","width":666,"height":668},"primaryImageOfPage":{"@id":"https:\/\/cthecosmos.com\/?p=3924#mainImage"},"datePublished":"2024-04-13T07:38:28+05:30","dateModified":"2024-04-13T07:38:28+05:30"},{"@type":"WebSite","@id":"https:\/\/cthecosmos.com\/#website","url":"https:\/\/cthecosmos.com\/","name":"Yashwanth Naidu Tikkisetty","description":"Embedded Systems | Space Blogger","inLanguage":"en-US","publisher":{"@id":"https:\/\/cthecosmos.com\/#person"}}]},"og:locale":"en_US","og:site_name":"Yashwanth Naidu Tikkisetty - Embedded Systems | Space Blogger","og:type":"article","og:title":"\ud835\udc7e\ud835\udc89\ud835\udc82\ud835\udc95 \ud835\udc8a\ud835\udc94 \ud835\udc82 \ud835\udc79\ud835\udc82\ud835\udc84\ud835\udc86 \ud835\udc6a\ud835\udc90\ud835\udc8f\ud835\udc85\ud835\udc8a\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f? \ud835\udc6b\ud835\udc90\ud835\udc86\ud835\udc94 \ud835\udc8a\ud835\udc95 \ud835\udc93\ud835\udc86\ud835\udc82\ud835\udc8d\ud835\udc8d\ud835\udc9a \ud835\udc8e\ud835\udc82\ud835\udc95\ud835\udc95\ud835\udc86\ud835\udc93? - Yashwanth Naidu Tikkisetty","og:description":"A race condition in software occurs when multiple processes try to access shared resources simultaneously, leading to unpredictable outcomes. An example is the Therac-25 radiation therapy machine incidents in the 1980s, where a race condition in the machine's software led to patients receiving massive overdoses of radiation, highlighting the critical need for thorough software testing and safety standards.","og:url":"https:\/\/cthecosmos.com\/?p=3924","og:image":"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png","og:image:secure_url":"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png","og:image:width":1200,"og:image:height":1200,"article:published_time":"2024-04-13T02:08:28+00:00","article:modified_time":"2024-04-13T02:08:28+00:00","twitter:card":"summary_large_image","twitter:title":"\ud835\udc7e\ud835\udc89\ud835\udc82\ud835\udc95 \ud835\udc8a\ud835\udc94 \ud835\udc82 \ud835\udc79\ud835\udc82\ud835\udc84\ud835\udc86 \ud835\udc6a\ud835\udc90\ud835\udc8f\ud835\udc85\ud835\udc8a\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f? \ud835\udc6b\ud835\udc90\ud835\udc86\ud835\udc94 \ud835\udc8a\ud835\udc95 \ud835\udc93\ud835\udc86\ud835\udc82\ud835\udc8d\ud835\udc8d\ud835\udc9a \ud835\udc8e\ud835\udc82\ud835\udc95\ud835\udc95\ud835\udc86\ud835\udc93? - Yashwanth Naidu Tikkisetty","twitter:description":"A race condition in software occurs when multiple processes try to access shared resources simultaneously, leading to unpredictable outcomes. An example is the Therac-25 radiation therapy machine incidents in the 1980s, where a race condition in the machine's software led to patients receiving massive overdoses of radiation, highlighting the critical need for thorough software testing and safety standards.","twitter:image":"https:\/\/cthecosmos.com\/wp-content\/uploads\/2018\/08\/logo1.png"},"aioseo_meta_data":{"post_id":"3924","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-08-31 20:19:03","updated":"2025-08-31 20:19:03","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/cthecosmos.com\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/cthecosmos.com\/?cat=5495\" title=\"Operating System\">Operating System<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\ud835\udc7e\ud835\udc89\ud835\udc82\ud835\udc95 \ud835\udc8a\ud835\udc94 \ud835\udc82 \ud835\udc79\ud835\udc82\ud835\udc84\ud835\udc86 \ud835\udc6a\ud835\udc90\ud835\udc8f\ud835\udc85\ud835\udc8a\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f? \ud835\udc6b\ud835\udc90\ud835\udc86\ud835\udc94 \ud835\udc8a\ud835\udc95 \ud835\udc93\ud835\udc86\ud835\udc82\ud835\udc8d\ud835\udc8d\ud835\udc9a \ud835\udc8e\ud835\udc82\ud835\udc95\ud835\udc95\ud835\udc86\ud835\udc93?\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/cthecosmos.com\/"},{"label":"Operating System","link":"https:\/\/cthecosmos.com\/?cat=5495"},{"label":"\ud835\udc7e\ud835\udc89\ud835\udc82\ud835\udc95 \ud835\udc8a\ud835\udc94 \ud835\udc82 \ud835\udc79\ud835\udc82\ud835\udc84\ud835\udc86 \ud835\udc6a\ud835\udc90\ud835\udc8f\ud835\udc85\ud835\udc8a\ud835\udc95\ud835\udc8a\ud835\udc90\ud835\udc8f? \ud835\udc6b\ud835\udc90\ud835\udc86\ud835\udc94 \ud835\udc8a\ud835\udc95 \ud835\udc93\ud835\udc86\ud835\udc82\ud835\udc8d\ud835\udc8d\ud835\udc9a \ud835\udc8e\ud835\udc82\ud835\udc95\ud835\udc95\ud835\udc86\ud835\udc93?","link":"https:\/\/cthecosmos.com\/?p=3924"}],"jetpack_publicize_connections":[],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8CiEf-11i","jetpack-related-posts":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/cthecosmos.com\/wp-content\/uploads\/2024\/04\/race-condition.png?fit=666%2C668&ssl=1","_links":{"self":[{"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/posts\/3924","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/users\/120055267"}],"replies":[{"embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3924"}],"version-history":[{"count":5,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/posts\/3924\/revisions"}],"predecessor-version":[{"id":3931,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/posts\/3924\/revisions\/3931"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=\/wp\/v2\/media\/3926"}],"wp:attachment":[{"href":"https:\/\/cthecosmos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cthecosmos.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}