<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>GO on Imran Khan</title>
    <link>https://imran-khan.com/tags/go/</link>
    <description>Recent content in GO on Imran Khan</description>
    <generator>Hugo -- 0.127.0</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 15 Apr 2026 10:13:29 +0000</lastBuildDate>
    <atom:link href="https://imran-khan.com/tags/go/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Mutexes and Semaphores</title>
      <link>https://imran-khan.com/posts/mutexes-and-semaphores/</link>
      <pubDate>Wed, 15 Apr 2026 10:13:29 +0000</pubDate>
      <guid>https://imran-khan.com/posts/mutexes-and-semaphores/</guid>
      <description>The first time I ran into a race condition, I spent an entire afternoon convinced my computer was broken. My program counted things. Sometimes the count was right, sometimes it was off by a few, and there was no pattern I could see. The code looked fine. It was fine, as long as only one thing was running at a time. The trouble started when I added goroutines.
If you&amp;rsquo;ve ever had a bug that only shows up &amp;ldquo;sometimes,&amp;rdquo; there&amp;rsquo;s a decent chance you&amp;rsquo;ve met the same problem.</description>
    </item>
  </channel>
</rss>
