summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-28 18:03:59 -0400
committerPietro Gagliardi <[email protected]>2014-07-28 18:03:59 -0400
commite2ef204b706b308090d1a1b6f3161458dcb99b0e (patch)
tree30a55bb86eea5dea227287e6bf9bfd6c4e37a646
parent0b82f37bcbf9c53392f8aa7309cf6a2c5b3e5375 (diff)
Quick note about Table.Unlock() and updates.
-rw-r--r--redo/table.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/redo/table.go b/redo/table.go
index f6f78d5..52024da 100644
--- a/redo/table.go
+++ b/redo/table.go
@@ -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()