Skip to content

lmtyler/limiter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go lang goroutine concurrency limiter

builds

Build Status

example

limit the number of concurrent go routines to 10:

  limit := NewConcurrencyLimiter(10)
  for i := 0; i < 1000; i++ {
  	limit.Execute(func() {
  		// do some work
  	})
  }
  limit.Wait()

About

go lang concurrency limiter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.1%
  • Makefile 0.9%