yruslan / channel_scala

Scala implementation of the concurrency primitive similar to GoLang channels.
Apache License 2.0
8 stars 0 forks source link

Implement WaitGroups #30

Closed yruslan closed 5 months ago

yruslan commented 5 months ago

Background

This could be useful when running multiple tasks with channels in thread pools. Especially is JVM 21 Virtuasl Threads are involved,

https://gobyexample.com/waitgroups

and

https://pkg.go.dev/sync#WaitGroup.Add

Feature

Implement WaitGroups