Advanced Programming in Go: Goroutines

Go    |    Intermediate
  • 15 videos | 1h 20m 40s
  • Includes Assessment
  • Earns a Badge
Rating 4.6 of 13 users Rating 4.6 of 13 users (13)
Goroutines are foundational components of Go's concurrency model. Goroutines may be considered units of execution in a Go program. Goroutines are very lightweight with small stack sizes. Consequently, millions of Goroutines may be spawned at about the same time on modest hardware. In this course, you'll explore Goroutines and how they implement the packages sync and sync/atomic. You'll investigate race conditions in Goroutines and explore race conditions versus data races. Next, you'll create and work with WaitGroups, implement atomic operations and see how mutexes are used with Goroutines. Lastly, you'll create and explore how to detect and avoid race conditions in Goroutines.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Describe goroutines and how they fit in go's concurrency model
    Create and execute a simple goroutine
    Work with goroutines and closures
    Work with anonymous goroutines
    Describe how the packages sync and sync/atomic are used in concurrent programming
    Create and use waitgroups in goroutines
    Define and execute atomic operations in go
  • Create and use mutexes in go programs
    Describe race conditions and how they affect go programs
    Simulate a race condition in a go program and study its affects
    Compare and contrast race conditions versus data race conditions
    Utilize programming methods to avoid race conditions
    Utilize programming tools in go that help detect race conditions
    Summarize the key concepts covered in this course

IN THIS COURSE

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.7 of 19 users Rating 4.7 of 19 users (19)
Rating 4.6 of 16 users Rating 4.6 of 16 users (16)
Rating 4.6 of 5 users Rating 4.6 of 5 users (5)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 106 users Rating 4.5 of 106 users (106)
Rating 4.7 of 135 users Rating 4.7 of 135 users (135)
Rating 4.3 of 15 users Rating 4.3 of 15 users (15)