fabric: github.com/hyperledger/fabric/common/semaphore Index | Files

package semaphore

import "github.com/hyperledger/fabric/common/semaphore"

Index

Package Files

semaphore.go

type Semaphore Uses

type Semaphore chan struct{}

func New Uses

func New(count int) Semaphore

func (Semaphore) Acquire Uses

func (s Semaphore) Acquire(ctx context.Context) error

func (Semaphore) Release Uses

func (s Semaphore) Release()

Package semaphore imports 1 packages (graph) and is imported by 1 packages. Updated 2019-01-10. Refresh now. Tools for package owners.