---
title: "Discussion on \"Race Condition in Golang\" | Hashnode"
description: "Discussion on \"Race Condition in Golang\". A race condition occurs when two or more concurrent goroutines try to access and modify the same data. For example, if one goroutine tries to read a variabl"
url: "https://hashnode.com/posts/race-condition-in-golang/621a7c7545bf7fc41cc9c611"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Race Condition in Golang](https://sonukumarsaw.hashnode.dev/race-condition-in-golang?utm_source=hashnode&utm_medium=feed)

A race condition occurs when two or more concurrent goroutines try to access and modify the same data. For example, if one goroutine tries to read a variabl

Feb 26, 2022 · 5 min read · sonukumarsaw.hashnode.dev  
Read the article

-   [#go](https://hashnode.com/tag/go)
-   [#concurrency](https://hashnode.com/tag/concurrency)
-   [#coroutines](https://hashnode.com/tag/coroutines)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#codenewbies](https://hashnode.com/tag/codenewbies)

## Written by

[Sonu Kumar Saw](https://hashnode.com/@sonukumarsaw)

@sonukumarsaw · India

  
[View profile](https://hashnode.com/@sonukumarsaw)

Software Developer @ SKIDOS

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
