An open API service indexing awesome lists of open source software.

https://github.com/hellojukay/gopool

a goroutine pool
https://github.com/hellojukay/gopool

Last synced: about 1 year ago
JSON representation

a goroutine pool

Awesome Lists containing this project

README

          

# gopool
an extremely simple goroutine pool

# example
```golang
package main

import (
"time"

"github.com/hellojukay/gopool/pool"
)

func main() {
var p = pool.New(20)
for {
p.Run(func() {
time.Sleep(time.Second * time.Duration(1))
})
}
}
```