Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions goccm.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "sync/atomic"

type (
// ConcurrencyManager Interface
ConcurrencyManager interface {
ConcurrencyManagerI interface {
// Wait until a slot is available for the new goroutine.
Wait()

Expand Down Expand Up @@ -43,7 +43,7 @@ type (
)

// New concurrencyManager
func New(maxGoRoutines int) *concurrencyManager {
func New(maxGoRoutines int) ConcurrencyManagerI {
// Initiate the manager object
c := concurrencyManager{
max: maxGoRoutines,
Expand Down