// Val returns the current value of the counter.
Val returns the current value of the counter.
// Val returns the current value of the counter .
func (c *PCPCounter) Val() int64 {
	c.mutex.RLock()
	defer c.mutex.RUnlock()
	return c.val.(int64)
}
func ( c * PCPCounter ) Val ( ) int64 { c . mutex . RLock ( ) defer c . mutex . RUnlock ( ) return c . val . ( int64 ) }
Val returns the current value of the counter.
Val returns the current value of the counter .