blob: fc00e69e55cfb99addf0c3dd139ed0e10abe9916 [file] [log] [blame]
package concurrency
// resourceKey represents an identifier of an abstract resource.
type resourceKey interface{}
// resourceSet represents a set of abstract resources.
type resourceSet map[resourceKey]struct{}
// newResourceSet if the resourceSet factory.
func newResourceSet() resourceSet {
return make(resourceSet)
}