* Update 109-mutext.md * Update content/roadmaps/109-golang/content/101-go-advanced/109-mutext.md Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>pull/1685/head
parent
54a6cde218
commit
fd14df1a72
1 changed files with 5 additions and 1 deletions
@ -1 +1,5 @@ |
||||
# Mutext |
||||
# Mutex |
||||
|
||||
Go allows us to run code concurrently using goroutines. However, when concurrent processes access the same piece of data, it can lead to [race conditions](https://www.sohamkamani.com/golang/data-races/). Mutexes are data structures provided by the [sync](https://pkg.go.dev/sync/) package. They can help us place a lock on different sections of data so that only one goroutine can access it at a time. |
||||
|
||||
<BadgeLink colorScheme="yellow" badgeText="Read" href="https://www.sohamkamani.com/golang/mutex/"> Using a Mutex in Go with Examples</BadgeLink> |
||||
|
Loading…
Reference in new issue