diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-28 18:03:59 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-28 18:03:59 -0400 |
| commit | e2ef204b706b308090d1a1b6f3161458dcb99b0e (patch) | |
| tree | 30a55bb86eea5dea227287e6bf9bfd6c4e37a646 | |
| parent | 0b82f37bcbf9c53392f8aa7309cf6a2c5b3e5375 (diff) | |
Quick note about Table.Unlock() and updates.
| -rw-r--r-- | redo/table.go | 1 |
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() |
