Back to Browse

WaitGroups - Part 1 (Concurrency in Go #2)

13.0K views
Jul 2, 2021
17:56

In this video you'll learn what is a WaitGroup, how to use WaitGroups and a bunch of WaitGroup issues and ways to mitigate them. By the end of this video you'll have a solid idea on WaitGroup Basics in Go #golang #steevehook #concurrency #waitgroups 00:00 - Intro 01:19 - Concurrency Primitives Intro 02:10 - Wait on Condition 02:49 - Without WaitGroup Example 04:43 - Basic WaitGroup Example 06:50 - With WaitGroup Example (Fix) 08:26 - WaitGroup Issues Intro 08:41 - No Add Example 09:58 - WaitGroup Deadlock Example 11:02 - WaitGroup Negative Counter panic Example 12:01 - WaitGroup passed by Value panic Example 13:49 - WaitGroup Reuse panic - Simple Example 15:28 - WaitGroup Reuse panic - Loop Example 17:41 - Outro Enjoy 🚀💻🚀 ✍ RESOURCES: ► https://github.com/golang-basics/concurrency 💰 Support me on Patreon: ► http://patreon.com/steevehook 💰 Paypal Donation: ► http://paypal.me/steevehook 💰 Buy me a Coffee: ►https://www.buymeacoffee.com/steevehook 🐧 FEEDBACK: ► https://gophertuts.typeform.com/to/j2CJmC 💬 COMMUNITY: ► https://discord.gg/tprewQu 💻 GITHUB: ► https://github.com/gophertuts ► https://github.com/steevehook 💻 Repl.it: ► https://repl.it/@steevehook 💻 Exercism: ► https://exercism.io/profiles/steevehook 📖 Medium: ► https://steevehook.medium.com/ 💬 TWITTER: ► https://twitter.com/@steevehook 💬 FACEBOOK: ► https://www.facebook.com/steevehookmd 💬 REDIT: ► https://www.reddit.com/user/steevehook 💬 INSTAGRAM: ► https://instagram.com/steevehook/ ✉️ EMAIL ► [email protected] ⚡ WEBSITE: ► https://www.steevehook.com 🎧 Music: ► https://www.epidemicsound.com/referral/rjj9hr/ ► https://artlist.io/Steve-411836 🎥 Gear used: ► Sony 𝛼7III ► Rode NTG-3 ► Golden Age Project Pre73-JR preamp ______________________________________________________________________________ Software engineering is one of the most accessible fields nowadays, but it's easy to get lost in the huge amount of technologies and ways to approach engineering problems. Lots of languages, frameworks, solutions and ways to be a productive engineer. I share my own experience on what is like to be a software engineer and the skills required to be a productive one. On this channel I share my thoughts, opinions and video tutorials about topics related to a certain technology, to make it easier for you to ultimately make a choice or just get better at software engineering by learning from my mistakes/experience. Make sure to also check out 5m Friday every Friday, where I share my thoughts and opinions about different engineering topics. I'll c you around 😎 Stay tuned! 🚀💻🚀

Download

0 formats

No download links available.

WaitGroups - Part 1 (Concurrency in Go #2) | NatokHD