Quick note about Table.Unlock() and updates.

This commit is contained in:
Pietro Gagliardi 2014-07-28 18:03:59 -04:00
parent 0b82f37bcb
commit e2ef204b70
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ type Table interface {
// Lock and Unlock lock and unlock Data for reading or writing.
// RLock and RUnlock lock and unlock Data for reading only.
// These methods have identical semantics to the analogous methods of sync.RWMutex.
// In addition, Unlock() will request an update of the Table to account for whatever was changed.
Lock()
Unlock()
RLock()