Registry / utility / ivpusic-grpool

ivpusic-grpool

JSON →
library1.0.0gogounverified

Package grpool implements a goroutine pool for managing concurrent tasks.

go get github.com/ivpusic/grpool
INSTALL
IMPORT
SIG · IVPUSIC-GRPOOL
I
ivpusic-grpool
utilitygov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

grpool
github.com/ivpusic/grpool

Run a task in a goroutine pool

package main import ( "fmt" "github.com/ivpusic/grpool" ) func main() { pool := grpool.NewPool(5, 10) defer pool.Release() pool.WaitCount(1) pool.JobQueue <- func() { defer pool.JobDone() fmt.Println("Hello from pool") } pool.WaitAll() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
ivpusic-grpool — go get ivpusic-grpool · libregistry