Skip to content

Repository files navigation

go_concurrent

golang concurrency tool

Semaphore

Semaphore is a concurrency utility . It is used to control access to a shared resource by multiple threads. Semaphores can be used to limit the number of threads that can access a resource simultaneously.

CyclicBarrier

CyclicBarrier is a concurrency utility class in Java used to synchronize a set of threads. The threads must wait at a barrier point until all threads have reached this point, and then they can proceed

CountDownLatch

CountDownLatch is a concurrency utility class used in Java to synchronize multiple threads. It allows one thread to wait until other threads have completed their tasks before proceeding

Future Go

Get results asynchronously

About

golang util concurrent tool

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages